|
Can anybody point me in the right direction for information on how to convert dwg files to emf format graphic files. Can this be done through C# code? Or do I need to get my hands dirty and delve into converting dwg's in C++? Any help or guidance would be highly appreciated. Thanks!
|
|
|
|
|
I'm well known about verison handling with SVN, but I like to start using the option source control that comes with Visual Studio.
I've searched here at CP but I can't find any tutorial on how to set up a server (which program to install).
Any tips where to start?
_____________________________
...and justice for all
APe
|
|
|
|
|
Hi!
AFAIK VS only supports Visual SourceSafe and compatible SCC systems, so you're out of luck trying to use SVN in that way.
But there's an add-on for SVN (Ankh SVN) that can integrate into VS, perhaps you should check this out.
Regards,
mav
|
|
|
|
|
I gladly skip SVN!
Do you have any tip on a good SCC system?
_____________________________
...and justice for all
APe
|
|
|
|
|
Huh?
What's wrong with SVN? I'm using it, too...
mav
|
|
|
|
|
Do you use Subversion on your server?
At this moment I just want it to work and can I make it throug VS2005 and Subversion I am just happy!
_____________________________
...and justice for all
APe
|
|
|
|
|
Hi
I have created an addin. Then i installed it. It gets instaleld successfully,
but when i reopened the VS2003 IDe next time it doesnt open and shows the error System.StackOverflowExcpetion in Drawing.dll file. and asks for debugger.
On debugging the project it points on the textbox that i have added.
please let me know the exact problem and how to rectify it.
Any pointers and help is highly appreciated.
Thanks
Naveen
|
|
|
|
|
Stack overflow exceptions usually happen because of unbounded recursion. Look for recursive calls to paint from within paint event handlers.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Hi Dears!
I am facing a problem. I want to get the names(Not the Datatype) of the controls used in a form on Tabpage @ run time how to achieve this.
Thnx in advace!
|
|
|
|
|
wut r u talking abt? win32 form or web?
mãdhãwã™4ever»(üþ îñ §mökz)®
|
|
|
|
|
I love the irony of you asking what he was talking about in (almost) totally incomprehensible language
|
|
|
|
|
Every Control that you add to a container such as a TabPage has a Name property.
|
|
|
|
|
Hi
I know how to run a program in c# (system.diagnostics.process.start)
but I cannot make it embeded in my form (Like the action that Internet explorer do with PDF files)
for example i want to have Acrobat toolbar in my toolbars or even have the program in a specific fram in my form
Thank you in advance
|
|
|
|
|
|
string[] names = new string[this.Controls.Count];
int i = 0;
foreach (Control c in this.Controls)
{
names[i] = c.Name;
i++;
}
------------------------------ "The Soapbox has been so ..."
|
|
|
|
|
PLease help. Thank u.
DataRow[] row = dataSet1.Profiles.Select("[ProfileId] != '" + dr.ProfileID + "'");
Error Message:
Cannot interpret token '!' at position 13.
|
|
|
|
|
CandyMe wrote: Error Message:
Cannot interpret token '!' at position 13.
Instead of != use <> , and if I am not mistaking when comparing with values the values must not be between quotes...
Note that != is a not equality and = is a equality operator in SQL.
DataRow[] rows = dataSet1.Tables["Profiles"].Select("[ProfileId] <> " + dr.ProfileId);
I hope you understand...because is a rough world out there...
|
|
|
|
|
Thank you it works. I needed to put it inside single quotation as the ID is varchar. thanks!
|
|
|
|
|
hello dear,
i am learning component development in C#.i create my own class library with name HelloWorld.Dll.
in this, i create a class MyComponet. i am using it in window based application in C#.
by including all rererences System.EnterpriseServices and Dll file. but when i create new object of that component it will
give Exception
Acess is Denied on this line
HelloWorld.MyComponent obj = new HelloWorld.MyComponent();
And in stack trace. it give the information.
Acess is Denied
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, Boolean bQuerySCInfo, Boolean& bIsAnotherProcess,
String& uri)
at System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType)
at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean
bNewObj)
at HelloClient.Form1.cmdWakeUp_Click(Object sender, EventArgs e) in d:\ankush\books\course cds\bulding com+
application\practices\cs\mod02\solution\helloclient\form1.cs:line 104
So plz help me how i can use my Dll file and remove this Exception.
waiting for ur reply.......
Ankush
Ankush Bindra
Sr. Software Engineer
Schenker India Pvt. Ltd.
New Delhi, India
|
|
|
|
|
Hi,
Try this,
Sometimes this would be the problem. Check your dll property, if it is read only give read write permissions. And give read, write permissions to the files in Debug folder.
I am telling this, because I also had to face this problem. I could solve my problem by doing this.
Regards!
|
|
|
|
|
Hi All,
I'm using Microsoft Enterprise Library Configuration Application Block to configure my application. In my App.Config I have the following code snippet:
<br />
<configuration><br />
<configSections><br />
<section name="enterpriselibrary.configurationSettings" type="System.Configuration.IgnoreSectionHa X| ndler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /><br />
</configSections><br />
<enterpriselibrary.configurationSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" defaultSection="" applicationName="Application" xmlns="http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/configuration">
<configurationsections>
<configurationsection name="EditorSettings" encrypt="false">
<storageprovider xsi:type="XmlFileStorageProviderData" name="XML File Storage Provider" path="EditorSettings.config">
<datatransformer xsi:type="XmlSerializerTransformerData" name="Xml Serializer Transformer">
<includetypes>
<keyalgorithmstorageprovider xsi:nil="true">
My EditorSettings.Config file looks like:
<br />
<br />
<editorsettings><br />
<xmlserializersection type="ConfigFile.SettingsClass, ConfigFile, Version=1.0.2146.19246, Culture=neutral, PublicKeyToken=null"><br />
<settingsclass xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><br />
<username>Administrator<br />
<clientname>uuuu<br />
<appname>uh<br />
<br />
<br />
<br />
<br />
My question is: In my App.config, can I add one more <configurationsection> inside <configurationsections>. If yes, how can I include it in my EditorSettings.Config file? How can i access this new section from my code. <br />
<br />
Thank You.<br />
<br />
<br />
-- modified at 1:15 Tuesday 22nd November, 2005
|
|
|
|
|
Adding a new key
<appSettings>
<add key="AdminUserName" value="admin"></add>
<appSettings>
Retriving the key value
System.Configuration.ConfigurationSettings.AppSettings["AdminUserName"]
Regards!
-- modified at 1:33 Tuesday 22nd November, 2005
|
|
|
|
|
To Write in coniguration File name "App1.config"
XmlTextWriter xw= new XmlTextWriter("App1.Config",null);
xw.Formatting=Formatting.Indented;
xw.WriteStartDocument();
xw.WriteStartElement("configuration");
xw.WriteStartElement("appSettings");
xw.WriteStartElement("add");
xw.WriteAttributeString("key","Name Of Key");
xw.WriteAttributeString("value","Place Actual value here");
xw.WriteFullEndElement();
xw.WriteFullEndElement();
xw.WriteFullEndElement();
//xw.WriteEndElement();
xw.Flush();
xw.Close();
to Read From file
XmlTextReader xr = new XmlTextReader("App.config");
while(xr.Read())
{
switch(xr.NodeType)
{
case XmlNodeType.Element:
Console.Out.WriteLine("Element: "+ xr.Name);
while(xr.MoveToNextAttribute())
Console.Out.WriteLine(" Attribute: ["+xr.Name+"]='"+xr.Value+"'");
break;
case XmlNodeType.DocumentType:
Console.Out.WriteLine("Document: "+xr.Value);
break;
case XmlNodeType.Comment:
Console.Out.WriteLine("Comment: "+xr.Value);
break;
}
}
to Use in Application
SetConnectionString(ConfigurationSettings.AppSettings["Name of key you want to use"]);
regards
Asad Mahmood
|
|
|
|
|
How to get the code(["SerialNumber"]) of harddisk of local area network
I know the name of computer
|
|
|
|
|
You must be an Administrator -On this computer- I think, and then do it with
The WMI SDK[^].
------------------------------ "The Soapbox has been so ..."
|
|
|
|