|
Hi,
I have few user defined functions written in vb script.
I want to convert these functions into .dll.
Can anyone help me on this regard.
Thanks,
Karthick.M
|
|
|
|
|
There are some differences between VBScript and VB and more so VB.NET.
You will need to recode the VBScript into either VB or VB.NET.Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
You don't. VBScript does not compile down to native code, so there's no (standard) way of doing this. You MIGHT be able to find some compiler out on the web that will, but I seriously doubt it.
You'll have to rewrite your code in either VB6 (not recommended) or VB.NET (highly recommended).
Also, what are you going to be using this .DLL for?
|
|
|
|
|
Thanks Steven & Dave,
I have all user defined function in .vbs format, I want to convert it to .dll so that I can make a single executable exe with this dll.
Regards,
Karthick.M
|
|
|
|
|
karthickmani63 wrote: I have all user defined function in .vbs format, I want to convert it to .dll so that I can make a single executable exe with this dll.
OK. What part of "You can't do that with VBScript" is difficult to understand?
We've already told you what your options are.
|
|
|
|
|
I Understood that,
But I replied for your below question
Also, what are you going to be using this .DLL for?
Thanks,
Karthick.M
|
|
|
|
|
Dave Kreskowiak wrote: VB6 (not recommended) or VB.NET (highly recommended)
wondering vb 6 Best Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
|
I hope you meant "wondering why not VB6"?
Because it's a dead, unsupported product that taught bad, anti-OOP, habits.
|
|
|
|
|
Hi,
I'm looking for a way to stop HttpWebResponse so that it stop looking for GPRS connction.Right now im using HttpWebResponse to automatically connect to GPRS,the problem is it took long for the GPRS to establish.I need to stop the request in about 10 second.Anyone have any suggestion?
this is the code that i used to turn on the GPRS connection....
Dim myHttpWebRequest As System.Net.HttpWebRequest = CType(System.Net.WebRequest.Create("http://www.google.com"), System.Net.HttpWebRequest)
myHttpWebResponse = CType(myHttpWebRequest.GetResponse(), System.Net.HttpWebResponse)
myHttpWebResponse.close
thanks for your help....@h3aR
|
|
|
|
|
Hi,
try setting HttpWebRequest.Timeout before calling HttpWebRequest.GetResponse
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that. All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.
|
|
|
|
|
How can I plot of set of 3D points using Direct3D?
I have done a lot of online searching for help with this. I have successfully run many code samples and walked through many tutorials. I have a degree in computer science and many years of programming experience.... but I could use some help with this. What if I just have a set of 3D points from a real-world sampling of ground coordinates and elevations, and I want to display those points as a wireframe? Everything I'm finding requires made-up things like a lizard or a cube or a sine-wave function. I need to set my coordinate system to my data set and view the terrain...should be simple I thought.
Here's an example of the data, a very simplified example but it should get the point across. I don't know how to create vertices out of my data, I just have my data, and I want to plot it!!!
UTM-based data, but it's just x,y,z....
Point,Easting (m),Northing (m),Elevation (m)
W01A01,512449.379,5128414.988,596.570007
W01A02,512460.793,5128387.379,598.210022
W01A03,512473.827,5128347.468,598.570007
W01A04,512479.68,5128331.079,598.98999
W01A05,512486.802,5128297.226,598.190002
W01A06,512487.192,5128286.866,599.580017
W01A07,512493.728,5128261.598,599.429993
W01A08,512508.264,5128251.16,598.76001
W01A09,512523.971,5128238.868,597.640015
W01A10,512539.483,5128231.258,598.179993
W01A11,512561.784,5128211.035,595
W01A12,512593.783,5128207.522,593.570007
W01A13,512619.831,5128203.23,591.789978
|
|
|
|
|
I am in 2nd year BCA.
I want to know that how to display data in data grid control using connection.(in vb6.0 with database(microsoft office access2003)).
reply solution.........
|
|
|
|
|
Please do not repost the same message twice. If you do not have an answer yet it means that nobody who has read your question can answer it. Be patient, it's the weekend, if somebody knows the answer I am sure they will post it. Meanwhile I suggest you spend the weekend reading about databinding in Visual Basic. txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
Richard MacCutchan wrote: I suggest you spend the weekend reading about databinding in Visual Basic
No thanks. I'm planning a relaxing Sunday...
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that. All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.
|
|
|
|
|
samuactive wrote: I want to know that how to display data in data grid control using connection.(in vb6.0 with database(microsoft office access2003)).
Use the MXFlexGrid , there's some tutorials[^] on this page I are Troll
|
|
|
|
|
What is a BCA I wonder and what country are you getting your tuition in?
Any institution still teaching with VB6 is doing you a grave disservice, it is VERY unlikely you will ever be able to use it in the commercial world.Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I am in 2nd year BCA.
I want to know that how to display data in data grid control using connection.(in vb6.0 with database(microsoft office access2003)).
reply solution.........
|
|
|
|
|
They're actually still teaching VB6 where you're going to school?? That's pretty bad considering VB6 hasn't been supported in quite some time. They're teaching you bad habits on a dead product.
|
|
|
|
|
How can I object name that is in the form and the mouse is on it do?
Thanks!
milad.biroonvand
|
|
|
|
|
Either i am still drunk from last nights beverages.....or that question makes no sense at all.
Could you rephrase the question?
|
|
|
|
|
could be both, however I don't think it is.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that. All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.
|
|
|
|
|
You might want to have someone else more versed in English post this question. Your post makes no sense at all.
|
|
|
|
|
I am going to assume that you are saying how can you find the name of the object which the mouse is over. Would that be correct?
You would have to use a routine that accessed the mouse hover probably and then read the details from the sender object. That would be my suggestion.
|
|
|
|
|
Just add a ToolTip to your form and set the ToolTip on each control to the name of the control.
|
|
|
|
|
I one "controller" application I use the following code to send a message:
Private Declare Function apiSendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Int32, ByVal wMsg As Int32, ByVal wParam As Int32, ByVal lParam As String) As Boolean
In my receiver application I use the following code to translate the message:
Protected Overrides Sub WndProc(ByRef message As Message)
If (message.Msg = MY_CUSTOM_MESSAGE) Then
Me.Text = message.LParam
End If
MyBase.WndProc(message)
End Sub
the problem is I cannot send a string parameter. in my receiver, message.LParam is a IntPtr, even tho I'm using a string in the declaration.
Any suggestions?
Thanksmodified on Friday, February 26, 2010 9:06 PM
|
|
|
|
|