|
Your Question is broad, there can be many things that can make the Application to be Slow, we dont know your environment. But on the Application side mybe it will be better to explain slowness you are talking about. Is it slow in all the parts of the System or on certain parts, for example, is it slow when to connect to the database ? Something like that try to explain, any mybe post code that connects to the datase or it mybe the database side we dont know
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswam@its.co.za
|
|
|
|
|
Yes, I will explain in detail. The application becomes slow whenever it tries to access database. Otherwise it runs fine.
|
|
|
|
|
ok, Can please show us a code snippet when you connect to the the Dabase or when you execute database code.
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswam@its.co.za
|
|
|
|
|
Hi
I have written a VB program for capturing the attendance. Now i am able to convert the VB program Code to an EXE.
Can anyone help me to bring back the exe to code conversion.
Thanks
isihalin
|
|
|
|
|
What the heck are you asking? What does bring exe to code conversion mean?
A double
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
I think he has a VB exe but no source code and would like to 'reverse-engineer' the exe to get the source code back. If this is correct then I'm not sure if it's possible.
|
|
|
|
|
You can disassemble it to get a start I believe, unless he means he wants to convert it to native code so he doesn't have to go through the JIT compiler (or require the .net framework in case I got that abbreviation wrong), in which case I don't think thats possible.
|
|
|
|
|
you should have switched to VB.NET a long time ago; that way you could decompile and get something that resembles the original source file.
|
|
|
|
|
Is this VB.NET, or are you living in the dark ages ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Let me try to understand what you mean. Are you saying you have a VB.NET Project(Because i cant help you with vb6 )and you want to create a Setup Project? If that is what you mean tell us
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswam@its.co.za
|
|
|
|
|
If you are doing in vb use this
step 1: Goto file -> make project1.exe
after complied. go to this path.
Step 2:
C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\PDCMDLN.EXE
then select Project File after that press Package.
Then that will guide till end of creation setup file.
|
|
|
|
|
Try Red Gate's .Net Reflector, and set the language to Visual Basic. Then, load your .Net assembly, and browse to the class you want to disassemble. Then right click and select Disassemble
|
|
|
|
|
Hi there.
I have a form with 3 combo boxes on, each with a random number of items in them.
What I am trying to do is to let the user select items from the combo boxes and then generate the sql query based on what they had selected, i would then want to display the results of this query in a datagrid view.
I am fairly sure i will need to use a sproc to pass parameters for the fields i will need from the app to the database but i am pretty much a vb novice and have only recently started using sql connections through it.
Any help would be greatly appreciated.
|
|
|
|
|
You don't need a stored proc, although if you don't use one, you would do well to use parameterised queries. However, if the text comes from a combobox, there's probably no harm in string mashing your SQL together.
Do you know how to do any of this, or are you hoping to have it all explained for you ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Christian Graus wrote: there's probably no harm in string mashing your SQL together.
True but he can still use parameters for that extra security (its just a little bit more code)
|
|
|
|
|
Oh, I'd normally agree, but in this case, I got the feeling that just string mashing SQL was going to confuse him.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanks Christian.
I am aware of how to create string queries but what part of the form would i insert the query? Would it be the button that the user clicks when they have chosen what they want from the combo boxes?
David
|
|
|
|
|
Yes , when else would you do it?
Well I guess you could also do it in the selectedindexchanged event off the comboboxes but that is making things more difficult then they need to be.
|
|
|
|
|
Well, that's entirely up to you, when do you want the query to run ? A button is easiest, as someone else said.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I like to merge PDF by PDFBox component(open source) using vb.net . I found a good article at http://www.vbforums.com/showthread.php?t=462929 . But it(code) makes a problem in page setup when a landscape and a portrait PDF are merge together. For example in merged PDF file takes the page setup of first PDF, if first pdf in portrait format then second pdf also in portrait format , So in merged PDF file content of second PDF cut down. Please help me over come this problem.
|
|
|
|
|
Why don't you ask the people who wrote or use the component you found ? Most people who read this, have never seen PDFBox, so how can we help you ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
Dear Friends,
I have my application as executable type. i would like to add my application, auto-start when my os starts also it should show in the task bar like Google talk, Yahoo Messenger. if possible please kindly provide the code.
Thanking you in advance
Regards
K. Rajesh Kumar
i am a fresher in software development i have so many doubts in .net so i need to ca
|
|
|
|
|
rajesh_ncc wrote: Google talk
Google also do a search engine. It's at www.google.com, but when you search for articles on doing this, you'll probably come back to code project, so better to just search the articles here, I think.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Use this code.
Dim regKey As Microsoft.Win32.RegistryKey
regKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Run", True)
regKey.SetValue("Birth", Application.ExecutablePath & " -startup")
regKey.Close()
Instant of Birth u can give ur Application name or Project Title Name.
modified on Tuesday, December 23, 2008 7:17 AM
|
|
|
|