|
i didn't see any question, you are asking us to convert for you?
|
|
|
|
|
densti wrote: I have a cpp code, I had difficulty in doing the conversion to visual basic 6, is there anything that can help me.
C++ to VB6?
VB6 has been deprecated, meaning that there's only minimal support available. Next to that, VB6 does not facilitate all that's possible in C++.
Compile your code using watcom or whatever and link to it - and stay away from VB6. There's no new technology created using that technology, since there's no place left to buy a new compiler. It "might" run on Win8 with some tweaks, but there's a good chance that the support will be cut in anything beyond Win8.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
|
Hi,
At my work, I have to test a Visual Basic application. I don't have the code source.
Often I get runtime errors. When I get one, I try to understand what is the cause before I contact the developer. Often it is a runtime error.
I want to know if a tool can give information about such errors without having access to the code source.
Any suggestions?
Thanks,
Claude
|
|
|
|
|
Hello,
Try this[] one
Nick
|
|
|
|
|
Gagnon Claude wrote: Often I get runtime errors. When I get one, I try to understand what is the cause before I contact the developer. Often it is a runtime error.
In an ideal world, you'd have a file, generated by the app in debug mode, that mentions all the steps that you took before the exception occurred. That way they have the steps to reproduce the bug.
..and it might be caused by something totally unrelated
Have you considered requesting the code? What is the app created with? In .NET we call them usually exceptions, I'd associate a "run time error" more with classic VB.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Hello everyone I am a beginner to programming with vb.net. Currently I am creating a notepad like application in VB (just for learning and practice). I want to make an installer for it (by using external installation creating utilities) so that I can give it to my friends just like any standard application.
But I have just confused that how I will decide that which files should be placed in installation with the .exe file. Can any one help me, that which other files are needed to properly run the application.
Also currently I am creating the application with visual studio 2005. I don’t have much knowledge about dot net framework. So how can I decide that to someone whom I am giving my application have required dot net framework. And if they don't have than how I can give it to them.
One more thing, is their any windows version (like XP, Vista, 7 etc) related limitation to consider, in order to properly running the application. If yes then please explain it too.
Any other suggestions are appreciated.
Thanks
|
|
|
|
|
you can find it here, goodluck.
|
|
|
|
|
No friend, I already have idea about it.
What I want is to collect all the files which are required to run my application, put them in other folder, and then create a installer by using a external installer creation utility. (I don't want to use visual studio's setup and deployment wizard). (I request you to read my about post ones again). Now please give me required suggestion. Thanks for your time.
|
|
|
|
|
You should know what your app requires to run. After all, you wrote it!
But, as a general rule of thumb, from the files in the Bin\Release folder, you don't need:
*.vshost.*
*.pdb
myApplicationName.xml
Everything else, you probably need.
|
|
|
|
|
|
I have a vb6 application that contain various drop down menus.
Some user has not permitted to access some menus.
For the purpose Logged in as administrator and list all menus in the application and select a user and check or uncheck whether this user access that menu.
But how can I list all menus in the application without manually enter menu name ? Because when we add new menu in the application, I manually add these menu name in list. And If menu no is 100 or 150 then it is difficult to enter the menu name or control them. So I want the code for list all menus in the application automatically. Please help me.
|
|
|
|
|
I'm a little confused to where you refer to drop down controls and drop down item. but the item once can be done pretty easily by code
dropdownbox.items.add("object, a string as name for example")
with a loop and some if/else statements you should be able to filter what you add by the users permissions.
|
|
|
|
|
Enumerate all objects of type "Menu" in the form and add it to a list from where an administrator can decide to grant permissions.
For instance:
for each myControl in myForm.Controls
if typeOf myControl is Menu then
and so on...
|
|
|
|
|
<pre lang="sql">Ok. thats working.
Then my next doubt is how can I identify main menus and sub menus</pre>
|
|
|
|
|
I'm starting in my intro to programming class. New to this side of computers. My teacher isn't much help so I"m falling behind. Can't get rid of the errors in my code. Pseudocode is supposed so simple from what I hear. If someone can help me do a simple program with this algorithm that would be awesome. Thanks a lot.
|
|
|
|
|
mainshotime wrote: My teacher isn't much help
Get another teacher or talk to a TA
mainshotime wrote: Pseudocode
Pseudocode is simple. It's supposed to be. Pseudocode is not program code!
mainshotime wrote: Can't get rid of the errors in my code
Funny, I do not see an single error in any of the code that you posted.
mainshotime wrote: a simple program with this algorithm
A simple program using what algorithm? You have not posted one word about what it is that you are trying to do.
We are not teachers here either. You will probably not find one single person here willing to do your homework for you. If you get into trouble, then we can help. Post the code that you are having trouble with and ask a clear, concise question and I am sure that someone will be able to help you.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
my teacher is so helpful, so i'm flying in front, i have no error.
i have an awesome simple program with that algorithm, you are welcome.
|
|
|
|
|
mainshotime wrote: Can't get rid of the errors in my code. Pseudocode is supposed so simple from what I hear.
How about you show us your pseudo-code? There can't be any syntax-errors in there, nothing that would keep it from compiling, since there's no fixed set of rules to how pseudo should look. It's merely a description of what the computer should do, in a semi-structured way. Comes very close to how a cook describes baking an omelet;
- Get a pan
- Put it on the stove, turn on the gas
- Throw in some gravy
- ADD BACON
- Do three times:
- Crack egg
- Add egg to gravy
- Heat five minutes
- Eat
I just "made up" the description above, and making up things is usually considered "easy" - there can hardly be an error in above description (if you don't count that the gas is still running when you're eating). If it's wrong according to your teacher, then he sure as Hell should take time to explain why it is wrong in his view and how you can rectify that. If he can't, ask management whether they can replace the babysitter in the class with a teacher.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
I need the on-screen Keyboard codes, which can be written in different languages (keyboard language),please help mi<pre lang="text">
|
|
|
|
|
Something tells me that you do not really understand what this site is all about.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
grigorffef wrote: I need the on-screen Keyboard codes, which can be written in different languages (keyboard language),please help mi
start -> on-screen keyboard -> enter();
|
|
|
|
|
Hello again,
it seems that code translation tools have their problems with Lambda expressions – different from my own but still ... Maybe you can help me again:
C#-code
EventHandler<MailPoppedEventArgs> local = this.MailPopped;
if (local != null){local(this, new MailPoppedEventArgs(index, message, size, uidl, receivedTime));} has been translated to VB.NET this way:
Dim local As EventHandler(Of MailPoppedEventArgs) = Me.MailPopped
If local IsNot Nothing Then local(Me, New MailPoppedEventArgs(index, message, size, uidl, receivedTime)) The resulting error message reminds me that 'MailPopped' is an event so that a 'RaiseEvent' construction is needed. But which would be a proper syntax for the above expression?
Thank you in advance
Mick
|
|
|
|
|
It would look something like this
Dim local As EventHandler(Of MailPoppedEventArgs) = Me.MailPopped
RaiseEvent local(Me, New MailPoppedEventArgs(index, message, size, uidl, receivedTime))
Hope this helps
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman
|
|
|
|
|
Hi Wayne, I'm going to check it out asap. Thanks for your help!
|
|
|
|