|
I'm going to develop an intelligent server application where i will integrate prolog program with visual basic. Here, I need a VINT386W.DLL file. Anyone of you can kindly tell me where can I get this file? Its urgent. Hope anyone of ou can lends a helping hand. Thanks in advance.
sscome
|
|
|
|
|
Can someone suggest some books covering OLE, classes, etc. I'm a self-taught programmer given the task at my job of automating calling up some reports in another application. They installed the application (Cerner) on my pc and lo and behold now when I look in VB Reference and components there are scores of controls and libraries, dlls, and ocx's. Now I just need to figure out how to hook my app up to these. I have many beginner books on VB but they don't really go into detail and certainly don't tell you how to utilize foreign dll's. I am using vb 6.0 by the way.
|
|
|
|
|
How do I turn on the integer overflow checking to On, so that I can get a System.OverflowException exception thrown.
'Declare FirstNum and SecondNum variables
Dim FirstNum, SecondNum As Short
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
End
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'Assign text box values to variables
Try
FirstNum = TextBox1.Text
SecondNum = TextBox2.Text
Catch When Err.Number = 6 'Overflow error
MsgBox("Out of calculators peramiters")
Catch When Err.Number = 11 'Division by zero error
MsgBox("Can't divide by zero")
End Try
'Determine checked button and calculate
If RadioButton1.Checked = True Then
TextBox3.Text = FirstNum + SecondNum
End If
If RadioButton2.Checked = True Then
TextBox3.Text = FirstNum - SecondNum
End If
If RadioButton3.Checked = True Then
TextBox3.Text = FirstNum * SecondNum
End If
If RadioButton4.Checked = True Then
TextBox3.Text = FirstNum / SecondNum
End If
End Sub
End Class
Thanks for the Help
Dave
|
|
|
|
|
djones1941 wrote: How do I turn on the integer overflow checking to On, so that I can get a System.OverflowException exception thrown.
Do the following...
1) Right click on your project in the Solution Explorer.
2) Select Properties.
3) Select "All Configurations" in the Configuration ComboBox in the top left corner.
4) Select ConfigurationProperties\Optimizations in the tree.
5) Uncheck "Remove integer overflow checks".
|
|
|
|
|
Thanks that helped alot and now I can finish the project that i was working on.
Thanks for the Help
Dave
|
|
|
|
|
hola gnt's necesito saber como utlizar un control Crystal Report (vr. 10) en visual basic 6...pliss ayuden...
|
|
|
|
|
¡Hola! Si voy a un pagína de web en español, escribo en español. Aquí, la gente escribe en inglés. Entonces, escribe en inglés por favor.
My: Blog | Photos
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious
|
|
|
|
|
I want to start my software automatically while startin Windows XP and no body can chane it without formattin the HDD....I assume that a registry entry will solve the problem ...But, don't know what and how it should be...Please help me writing an utility that -
- register my software for this auto start
- disable CTL+ALT+DEL
The utility should have a feature to disable this feature....
Arindam
|
|
|
|
|
Arindam.online wrote: no body can chane it without formattin the HDD
Arindam.online wrote: The utility should have a feature to disable this feature....
Don't these two requirements conflict with each other?
Arindam.online wrote: disable CTL+ALT+DEL
And how is someone meant to log on to the system without CTRL-ALT-DEL?
Arindam.online wrote: no body can chane it without formattin the HDD
May I respectfully suggest that since you are asking the question you do not have the ability to create software that will be sufficiently stable that this would be a viable option. Also, it sounds like you are creating some piece of malware.
Perhaps if you explained better what you are trying to achive it would allow people to help you. At the moment your post rings a lot of alarm bells that you are attempting to do something that you probably ought not to be doing. So, if we know the higher level (overall) problem then you might get some answers that point you down a slightly different, but better, route to the one you are taking.
My: Blog | Photos
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious
|
|
|
|
|
You can have Windows automatically startup your application by adding a reference to it under the following registry key.
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
You'll need to add a String (REG_SZ) under this key. The String's name can be whatever you want. The String's data must be an absolute path to your exe, and you should double quote it if the path contains spaces. Try running "regedit" and do this manually.
|
|
|
|
|
Arindam.online wrote: I want to start my software automatically while startin Windows XP
Easy enough, but there are two ways to do this. If you want to start your app when XP starts, you'll write your app as a Windows Service and install it as such. If you want to start your app when a user logs on, then you put the command line to start it in the Run key, previously mentioned in another post.
Arindam.online wrote: no body can chane it without formattin the HDD
You're not going to accomplish this at all. The closest you can come is using techniques that malware uses and make it such a huge pain in the a$$ to uninstall it completely.
Arindam.online wrote: I assume that a registry entry will solve the problem
Hardly. It only launches your app. Anyone who can type "regedit" will be able to remove the value from the registry.
Arindam.online wrote: disable CTL+ALT+DEL
Not going to happen. This is the one key combination you can't trap. Not without replacing the MSGINA.DLL with your own concoction anyway.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I need source code and idea to program for Watermarking in VB6 or VB.NET. Can anybody please help me....
karthikeyan
|
|
|
|
|
Watermarking what? Word docs? Images? What formats? Is this part of a web server? More details are needed.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hellow to all ..
anyone know where i can find a good articals or code samples , to mobiles phones SMS Applications , let say Application that i can use to send from it SMS to a phones networks , how this Applications works ?
and where i can find code sampels ...
thxx ..
|
|
|
|
|
|
If you want to be single why are you being so short?
Rethink this
Dim FirstNum, SecondNum As Short
1. Out of clutter, find simplicity.
2. From discord, find harmony.
3. In the middle of difficulty lies opportunity.
Albert Einstein
three rules of work
|
|
|
|
|
Sorry it is a short just got in a hurry and misstyped it. Thanks for letting me know
Thanks for the Help
Dave
|
|
|
|
|
Hello,
I am using a Form with a Image for a background. But i want my Labels to alow the imaged background to come through like the windows desktop in XP does for the icons text.
OK i know its simple please remind me.
1. Out of clutter, find simplicity.
2. From discord, find harmony.
3. In the middle of difficulty lies opportunity.
Albert Einstein
three rules of work
|
|
|
|
|
Set the BackColor of your labels to Transparent.
|
|
|
|
|
Hello all,
I have a picture which I can drag other pictures over. After I release the picture being dragged, or even while it's moving, I want to check if the (x,y) position of that picture is within a certain region.
Example:
Let's say I have a rectangle width (50) height (30). I cut that rectangle diagonally from bottom left to top right. I want to find if the dragged picture is in the section that has a right angle in the upper left corner or the lower right corner.
That's a very, very simple example of what I'm trying to do. My shapes have 800 - 10,000 point outlines that I convert to a region path and draw. I have all the points stored in arrays, but the array only contains the outline, so I don't know how to find if it's WITHIN the outline. Thank you sooo much for any help!!!
Mike
Gaming at the GuildofBlades.com is the only way to really experiece the level 99 Soul-Sucking Sword!
|
|
|
|
|
hi there,
I would to execute some code present in my dll when I register it using regsvr32.
how to do that ? It seems there is something to use like dllinstall or DllRegisterServer .
I have also seen something like:
regsvr32 /i:"some_text" mydll.dll
that would invoque the dllinstall function and pass the string some_text to the dll. But didn't find any piece of code on that.
Thanx in advance.
oliver
|
|
|
|
|
The maximum number of characters DISPLAYED in a text box is 4000, even though the maxlength is set to 2147483647. The 4001+ characters are not visible, unless highlighted.
When the value of the textbox is passed to another form and there are more than 4000 characters, an error occurs:
error msg: "Invalid pointer"
code:
qryStr = "?FormNameIn=CriteriaPIDRevenue"
qryStr = qryStr & "&PIDCodeIn=" & window.PIDForm.txtPIDCode.value
window.open "DetailsMain.aspx" & qryStr, "frmDetails"
If there are LT 4001 characters, NO ERROR!
Does anyone have a solution?
Thanks,
Marc
|
|
|
|
|
i am working on a project for a class, not too much of a big one,but its due anytime soon, and yet still i haven't finish. I am trying to scramble some words at random,, meaning each time the program takes a word from the database it would scramble it at random.. example. the first time it might get this word,,say "sheets" it should be able to scramble it like say "etsesh" and a next time it might pull the same word from the database and scramble it like "shtees".. and so on..
the problem is that how do i get it to do so. i tried an approach that takes the word, use the mid function to fill and array of the size of the word,,which works just find..the problems came about when i am trying to display the letters scrambled at random.. because the same number may randomly come at anytime.. i need help to scramble the words randomly..please help..anyone
Nab
|
|
|
|
|
Just scramble the position of each letter. For example the word "sheets" has 6 letters meaning each letter can be in any position 0 to 5.
Here is a pseudo-code example:
Create array with 5 empty spaces (call it scrambledWord)
Generate random from 0 to 5
Place first letter at position generated
Generate random from 0 to 5
if scrambledWord has a space then place second word
else generate random again
repeat for all letters minus last one.
|
|
|
|
|
i have tried the method u mention but the problem is that the random number might repeat itself, and when it does, it displays the same letter which is not good..would u like to type the vb code so i could see if i really understand what is it that you are say and if that was the exact method i used? thanks for helping..
Nab
|
|
|
|