|
Write less code?
(Sorry, but its such a stupid question)
I expect what yuo are really looking for are best practices. Try google.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Thanks
But i am asking what to use and when.
for example If condition is better to use than Loop.
or
Use global object or local to procedure.
Please help me.
Thanks
Adarsh
|
|
|
|
|
Get a profiling tool that will help you understand what parts of your code consume the most resources. There are several that are available as 30 day trialware
|
|
|
|
|
Thanks for your help.
If you have any software name, please forward it to me.
Thanks
Adarsh
|
|
|
|
|
Google for ".NET Profiling tool". Pick some. I have tried some of the open source ones within the past year and was really confused (poor docs, not intuitive), so you may want to try one of the commercial products to get started.
|
|
|
|
|
Thanks for your reply.
I will look into the matter.
Adarsh
|
|
|
|
|
I want to genarate bar code for my project assigned to me. I don't have any idea about it, I have searched for the hints on google but didn't get any thing. Can anybody give any hint?
|
|
|
|
|
Get it
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
|
Always Welcome.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
|
sorry, my english is bad(i'm form mexico)
you need download a FONT called "BARCODE" or "3 of 9 Barcode". After that you go to
"C:/Windows/FONTS" and paste the FONT that you download previously.
After you can use the example of this page
<a href="http://www.neodynamic.com/ND/FaqsTipsTricks.aspx?tabid=66&prodid=1&sid=58">http://www.neodynamic.com/ND/FaqsTipsTricks.aspx?tabid=66&prodid=1&sid=58</a>[<a href="http://www.neodynamic.com/ND/FaqsTipsTricks.aspx?tabid=66&prodid=1&sid=58" target="_blank" title="New Window">^</a>]
or only drawing
e.Graphics.DrawString("*" & text & "*", New Font("3 of 9 BARCODE", 20), Brushes.Black, 100, 100)
no forget "*" (asterisc) because if you forget that The scanner can't read the CODE....ok?
orlando_back@hotmail.com
|
|
|
|
|
|
I am using Visual Studio 2005
I have created Flash movie in Flash 8 for help.
I copy it at bin/Debug Folder.
I used the code at Help Topics Menu item click event:
System.Diagnostics.Process.Start (System.Environment.CurrentDirectory & "\Help.swf")
It works Fine.
But When I create setup using Setup Project.
It is picking path of my project folder, not installed folder.
Same case of connection string of mdf file of my project.
Please guide me how do i resolve it.
Thanks
|
|
|
|
|
nishugaurav wrote: System.Diagnostics.Process.Start (System.Environment.CurrentDirectory & "\Help.swf")
use application.startuppath for the flash movie
System.Diagnostics.Process.Start (application.startuppath & "\Help.swf")
Note this is not recommended for files (like mdb,txt,xml,...) wich the programme has to write to
You need administrator rights for that so users on XP who don't have those will not be able to write to it and you'r programme will crash
On vista everything the user does (write to those files) will end up in the user's personal virtual filesystem, and will NOT be accesible for other users
|
|
|
|
|
Path.Combine(application.startuppath, "Help.swf") if you're like me and can't remember when trailing slashes are there and when they aren't.
|
|
|
|
|
yeah usually I do the following to avoid any mistakes
application.startuppath.trimend("\","/") & "\help.swf"
but have to admit you'r way looks nicer
|
|
|
|
|
Hello Friends.
How to set resolution of our vb.net application.
for example.
i have developed application in low resolution means
800 x600
then it not looking good in
1024 x 768
how to solve this problem.
Thanks in advance.
Adarsh
|
|
|
|
|
Get it
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Thanks for your reply.
But i am asking for vb.net 2005.
If u have any solution please help me.
Adarsh
|
|
|
|
|
several possible options:
set you'r forms (or just mdi parent) width and height to 800x600 and don't allow the user to maximise the programme (property maximizebox = false, and property windowstate = normal)
you can also check the screen's resulotion (you can use the my.computer.screen. ... methodes for this) and do the above only for resulotions higher than 800x600
Better way is to make you'r programme look good on all resolutions (if possible) using the anchor and dock property's of the controls
|
|
|
|
|
Thanks for your reply.
I got my solution.
Adarsh
|
|
|
|
|
im beginner in vb 6.0...
can anybody show or if can attach an example of project tht link with mic.access to vb 6.0...
i need to explore about way to retrieve record from existing database and then list it on llist box, n try to sort it. further more i need to find gap and duplicate in data, and stratification and list it according to user request.. i really dont know how to do it.... im really beginner..
plsssss help me... send an example project to me..
|
|
|
|
|
Please tell me you are supporting an application and not just starting one. VB6 is DEAD, burried and no longer supported.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Mycroft Holmes wrote: supporting an application
Hope that's the case. And if so, should try to port it over to VB.NET for easier maintaining.
Mycroft Holmes wrote: starting one
Hope that's not the case
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|