|
sir,
thank you very much for your advice...
|
|
|
|
|
Hi
Can anyone tell how to include autocad in vb.net
Thanks in advance
|
|
|
|
|
It looks like google[^] knows.
The answer is bound to be COM, so look up the COM interfaces that AutoCAD exposes, and also read the articles from the google search.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi
christy i already googled it but could not find any solution if you know please send me the code for it or any url that has code which is working
Thanks in advance
|
|
|
|
|
hey, if you can't find an example that work, it is because YOU don't use'em properly suss:
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
What works for one person might not work for another. There is no single example that is going to show you how to do this. You absolute best resource is the AutoDesk Developers site, here[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Does anybody know a quick routine to convert from numbers like "1000$" to "One thousand dollars"?
I need this to print invoices
Thanks in advance
|
|
|
|
|
I found many source code hits on Google using convert number to words as the search terms. There are samples in Java, VBA, VB etc...
See if one of those is the right one for you.
...Steve
|
|
|
|
|
how can i share my folder in vb.net with "read ONLY".i have sample code but this work not correctly
Process.Start("c:\winnt\system32\net.exe", "share ShareName=C:\Path")
Please help me
kevil
|
|
|
|
|
I need explorer to open a folder so that i can view the files inside. No browsing or dialog box is needed, I just need to open that specific folder with Windows after clicking a button. Anyone knows how to do this?
Another question would be how do i declare a statement as a string if that statement has "" in it?
E.g.
Marks = "69" Grades = "C"
How do i declare the above sentence as one whole string?
|
|
|
|
|
Cx- wrote:
Another question would be how do i declare a statement as a string if that statement has "" in it?
I believe you double the quotes, as in
String s = "Marks = ""69"" Grades = "C"""
In C#, it's \", but I believe it's double quotes in VB.
Cx- wrote:
I need explorer to open a folder so that i can view the files inside. No browsing or dialog box is needed, I just need to open that specific folder with Windows after clicking a button. Anyone knows how to do this?
I'd say that ShellExecute or Process.Start will do this, just pass in the path.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
<br />
Dim str As String<br />
str = "Marks = ""69"" Grades = ""C"""<br />
Where ever you want to put quotes inside of a string use ""
So this --> 1 "2" 3 would be coded as "1 ""2"" 3".
EDIT: Christian and I posted at the same time.
|
|
|
|
|
Anyone can help me? I try to import data contents on .csv to .sdf (SQL SERVER CE).
Best Regards...
|
|
|
|
|
What's an sdf ? You want to move a csv into a SQL Server database ? If you know the format of the file, create a table that follows it, and INSERT all the rows into it.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I am getting an error when debuging a program that is: "An unhandled Exception of type 'System.Runtime.InteropServices.COMException' occurred." I also see in my Event Viewer: Event ID 10020 Source DCOM. "The machine wide Default Launch and Activation security descriptor is invalid. It contains Access Control Entries with permissions that are invalid. The requested action was therefore not performed. This security permission can be corrected using the Component Services administrative tool."
This is what I have in my source code: "Dim xlBook As Excel.Workbook = xlApp.Workbooks.Add"
I have tried to give EVERYONE access to the "Microsoft Excel 97 Application" in DCOM. This had no effect on the code.
I would appreciate any suggestions or solutions for this issue.
|
|
|
|
|
Hags,
Try wrapping your code with Try/Catch (see example) to trap the error and see what additional information it gives you.
Try<br />
Dim xlApp As Microsoft.Office.Interop.Excel.Application<br />
Dim xlWkBk As Microsoft.Office.Interop.Excel.Workbook<br />
<br />
xlApp = New Microsoft.Office.Interop.Excel.Application<br />
xlWkBk = xlApp.Workbooks.Add<br />
Catch ex As Exception<br />
MsgBox(ex.Message, MsgBoxStyle.OKOnly, "Error")<br />
End Try<br />
...Steve
|
|
|
|
|
Hai,
I have seen the use of
Public sub new()
in VB.net.
What is the use of that?I will apreciate if somebody can give me a brief idea about that.
Similarly what we can use in C# instead od Public sub new().
Please show me the right way.
Thank You,
Rahul
|
|
|
|
|
Public Sub New() is whats called the constructor for a class in VB. In there, you can set variables to default values, or other stuff thats required for the class to work properly.
C# is a little different...
|
|
|
|
|
C# uses the class name for constructor with no return type.
public class MyClass
{
public MyClass()
{}
}
|
|
|
|
|
Hai Danie,j4amieC,
Thanks much for the help.
Thank You,
Rahul.
SoftwareDeveloper(.NET)
|
|
|
|
|
I am writing an ASP .Net Web Application using VB .Net 2003. I would like to create a modal web page or dialog box so that I can have my users add additiiona information. I know that in Java there is window.showModalDialog but is there a way in VB .Net to do this?
Thanks
Charles
|
|
|
|
|
No, there isn't. ASP.NET is a server-side only technology that generates HTMl for a browser. You'll have to use JavaScript for this.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Dave Kreskowiak wrote:
No, there isn't.
Thank god for that too. Imagine if a web page could go modal. Penis enlargement anyone?
using System.Beer;
|
|
|
|
|
Dave,
Thanks for reply. Jon, I'm sorry but I don't get your comment. I am new to VB .Net and WEB developement. After working with VB 5 & 6 I wanted to make a jump to ASP .Net Web Application through VB .Net 2003. Some coding is very easy, others I am having problems with (like this). Why not be able able to have a page ontop of another like "Click here to add notes"?
Charles
|
|
|
|
|
Because the capability just doesn't exist in a browser. Can you imagine the problems with popup ads if it did!
ASP.NET (regardless of the language it's written in!) doesn't generate any executeable code for the client side. The sole exception being JavaScript for the HTML page's controls to report back to the server.
If you want to put up a modal dialog, you'll have to include JavaScript in your HTML page to do something like this. I have no idea how to actually do it myself. That's a question for the ASP.NET Forum, not VB.NET.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|