|
Jon Henry wrote: in My Documents
that would be OK (for personal stuff, not shared by several users) provided you still construct the path by using the Environment.SpecialFolder stuff (.MyDocument then), since different Windows versions and different installation choices may move around all such folders quite a bit.
However I tend to reserve MyDocuments for files I create myself, typically ofice documents and such ("foreground files"); not datebases, settings, logfiles and the like ("background files"), which you typically don't want to encounter when browsing the file system. But that is just a matter of taste.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
I am mainly do the coding in c# language. I noticed in Add/Remove programs control panel showing that I have 5 of Microsoft SQL Server listed in there:
Microsoft SQL Server 2005
Microsoft SQL Server 2005 Mobile [ENU] Developer Tools
Microsoft SQL Server Native Client
Microsoft SQL Server Setup Support Files (English)
Microsoft SQL Server VSS Writer
I do not develop code to work with server. I'm not sure if I would do anything with this SQL as I need to free up hard drive space a bit.
Should I remove this from my system?
Any thoughts?
modified on Thursday, May 21, 2009 8:29 AM
|
|
|
|
|
This has absolutely nothing to do with programming...you want more space? then buy a hard drive with a larger storage capacity. Or just uninstall SQL Server and see what breaks
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
SQL server wouldn't be needed unless your applications use it, download Microsoft SQL Management Studio Express and you can connect to the MSSQL database and see what data it contains...
Like the other post, delete some files will free up some space but if you're that close to being full and you need to uninstall applications to get free space then you'd be better off just buying another hard disk.
|
|
|
|
|
I am also a C# programmer. Do I need to have a computer to do programming or can I somehow use my bike?
Oops!!! I didn't wanna be rude.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
No, you don't need a computer, but I think the bike would be an unnecessary complication.
|
|
|
|
|
Hi,
I am creating a web part for Microsoft SharePoint and i need to add two controls, a userfield (to allow a user to be selected) and a date picker field. So far i have the following code:
protected override void CreateChildControls()
{
btnSubmit = new Button();
btnSubmit.Text = "Add to list";
btnSubmit.Click += new EventHandler(btnSubmit_Click);
Controls.Add(btnSubmit);
txtTitle = new TextBox();
Controls.Add(txtTitle);
dateDueDate = new DateTimeControl();
Controls.Add(dateDueDate);
userAssignedTo = new UserField();
Controls.Add(userAssignedTo);
base.CreateChildControls();
}
protected override void RenderContents(HtmlTextWriter writer)
{
btnSubmit.RenderControl(writer);
writer.Write("<br />");
txtTitle.RenderControl(writer);
writer.Write("<br />");
dateDueDate.RenderControl(writer);
writer.Write("<br />");
userAssignedTo.RenderControl(writer);
writer.Write("<br /><br />");
However, the UserField and DateTimecontrol are causing the web part not to render. I am not sure if i am using the correct field types or adding them correctly.
Any help would be great,
Thanks in advance
|
|
|
|
|
Hi,
I am using xsd.exe to generate the .cs file to serialize and deserialize the xml responce. .cs file contains number os classes. I want to use defauls xml serialization for some classes and custom serialization for some.
<Job>
<tm>
<source>source1</source_transfer_method>
<group>1</group>
</tm>
<active_flag>A</active_flag>
</job>
for the above xml responce xsd had created tow class "job" and "TM". I want to override the serialization of TM class and want to apply custome serialization to create collection (hashtable) for the elements under "TM"
When I Deserialize it both default serialization for "job" class and my custom serialization for "TM" class is not working. Please help.
Using xsd.exe generated below class
[
System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
[System.SerializableAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class Job
{
private string active_flagField;
.....and so on
[System.Xml.Serialization.XmlElementAttribute (Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string active_flag {
get {
return this.active_flagField;
}
set {
this.active_flagField = value;
}
}
}
public partial class TM : Hashtable, IxmlSerializable
{
public System.Xml.Schema.XmlSchema GetSchema()
{
throw new System.Exception("The method or operation is not implemented.");
}
public void ReadXml(System.Xml.XmlReader reader)
{
reader.Read();
while ((reader.Name != "TM"))
{
if (reader.NodeType == XmlNodeType.Element)
{
string key = reader.Name;
reader.Read();
string value = reader.Value;
this.Add(key, value);
}
reader.Read();
}
}
public void WriteXml(System.Xml.XmlWriter writer)
{
throw new System.Exception("The method or operation is not implemented.");
}
}
|
|
|
|
|
Hi i am new bee in crystal report, I have created necessary rpt file and bind it with a csv file, but in my one of field which is IPAddress which has value 10.169.57.101 , When I preview report it is showing 10.70 which it is rounding off but i don't want this behavior , i want to display 10.169.57.101 as it is, how can i do that. Please F1 F1 F1.
“You will never be a leader unless you first learn to follow and be led.”
–Tiorio
"Coming together is a beginning, staying together is progress, and working together is success." Henry Ford
|
|
|
|
|
I am looking for code in C# or in Matlab that can represent the shape using -- Region based shape representation-- and calculate the similarity between two shapes
|
|
|
|
|
Just a thought, but you might try Googling for regions in c#. You never know, it might work.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi,
I am writing a web part and need to be able to return all the field names that are in the current view.
I have created an object for the view (an SPView object) but need to know how to get out of that object the fields in the view.
Can anyone help me out here please?
Cheers
|
|
|
|
|
Anyone know of a Gantt chart control where you can drag and drop the bars (or at the least, select them and get information about which one was selected)?
TIA
|
|
|
|
|
what about this[^] or this[^]
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
musefan wrote: what about this[^] or this[^]
The CP one is VB not C# and the other one is $480 (but looks OK!).
|
|
|
|
|
Don't you have Visual Studio ? you can convert code from VB to C# with the click of a button... well i assume. I actually use SharpDevelop[^] which, if you are not familiar with it, is essentially the same but FREE
That definitely has function to convert VB to C#
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
I do have VS but definitely without VB installed.
|
|
|
|
|
this[^] or this[^] might do it for you... or you code just search for some other Gantt chart controls
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Hello,
I want to create word document using c#,now i did the task to create simple word document using word DLL.
now my requirement is to make more automation on created word document through c# code,required automation as describe below...
-> Define header and footer,footer contains page number,while header contains some text but i need that header change on odd and even pages,which is property of word "Different Odd & Event Pages".
-> define the fix page size,and need to define margin from 4 different side.
so please help me to short out my requirements.
Thanks,
Kaushal.
|
|
|
|
|
Why don't you do some research and try it for yourself. WordApplication and WordDocument have many functions and properties to help you meet your requirements.
Why not start here[^]
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
hello musefan,
I have already search out on msdn as well as many more sites,but still i can get only which already i have implement,but i am not getting that much things which is describe in previous post and i am also continue with searching more.
nikunj padaliya
|
|
|
|
|
|
Hi musefan,
Thanks for your link,i can go through that and use that code for creating header on my application but when document is generated than i couldn't get the header text,it gives error like
"Error! Auto Text entry not defined."
Thanks & Regards
Kaushal.
nikunj padaliya
|
|
|
|
|
Are you tied to creating this document through automation? If not, and you are targetting Office 2003 or Office 2007, why not generate the document using WordML? What you would normally do, is generate a dummy document that matched the formatting you want, and then use this as a basis for applying the styling that you want via XML.
The advantage of this approach, is you don't need to have Word installed on a target machine to make use of this technique, which is great if you run this on a server.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Hi,
Thanks for your reply,i can understand your suggestion,for that can you provide me any example or any reference link,through which i can do it.
nikunj padaliya
|
|
|
|