|
http://www.microsoft.com/globaldev is a great starting point.
|
|
|
|
|
Thanks
S.S. Ahmed
ss_ahmed1@hotmail.com
http://glowbutton.faithweb.com
|
|
|
|
|
I'm looking on suggestion on how to check and see if an application is running. The referenced knowledge base article is old and I was thinking that there has to be a better way of doing this in VB6...
Thanks to those who responded to the original posts!
|
|
|
|
|
I'm not sure what you found in the article, there are two popular techniques.
1. Use FindNextWindow, looking for a window with the same name as yours. If found then exit.
This is the most common method. It fails (or is at least difficult) if the window title is variable or there are many different windows that might or might not be open.
2. Check the list of running processes looking for your .exe name. There should be only one. If two found then exit.
Thanks for the help,
Bill
|
|
|
|
|
Hey there,
I own a very small specialty autoparts store. Mainly we deal on stock parts for classic cars and performance parts for later models and racing teams. I have some very small experience with VB but it's not enough to get me through this program. What I need is simply a way of managing a small inventory of parts in a sequential file database. I'd like to use a .txt or .doc file so I can print easily/email my complete inventory list to customers.
I simply want one form for me to be able to enter new products into this file (I have a product code and some other info. I've already made this form). I then need a restock button to bring up an input box that will allow me to adjust inventory for new amounts.
The only other form is an invoice form for my end only. I want to be able to check and make sure we have enough stock, warn me if we don't have enough and finally just tally a total cost. This invoice just needs to print out to a .txt or .doc as well.
The forms are done. I just need the code. It's mostly basic stuff and I really don't need anything fancy. I'd like it done before Tuesday afternoon, but I'm thinking a good VB coder could knock this out pretty quickly.
I'll pay through PayPal, CC, or Snail Mail. Contact me on my hotmail account as it's easier to check when I'm away.
Reply if you're interested or drop me an email: sammrichardson@hotmail.com
-Sam Richardson
|
|
|
|
|
How can I to load dll "abc.dll" to my project if I want to use in my project the export functions of that dll ???
|
|
|
|
|
Have a look at the code below, this is one way of loading a DLL in VB. Use the loadlibrary function to load the dll.
Private Declare Function LoadLibrary Lib "kernel32" Alias "LoadLibraryA" _
(ByVal lpLibFileName As String) As Long
Private Declare Function LoadString Lib "user32" Alias "LoadStringA" _
(ByVal hInstance As Long, ByVal wID As Long, ByVal lpBuffer As String, _
ByVal nBufferMax As Long) As Long
Private Sub Form_Load()
Dim hInst As Long, lResult As Long, x As Long
Dim LCID As Long, sLcid As String
Dim resString As String * 255
Dim sCodePage As String
sCodePage = String$(16, " ")
Label1.AutoSize = True
Label1.Caption = ""
LCID = GetThreadLocale() 'Get Current locale
sLcid = Hex$(Trim$(CStr(LCID))) 'Convert to Hex
' Display decimal value of the LCID (Hex in Parentheses)
Form1.Caption = "LCID " & LCID & " (" & sLcid & ")"
x = GetLocaleInfo(LCID, LOCALE_IDEFAULTANSICODEPAGE, _
sCodePage, Len(sCodePage)) 'Get code page
sCodePage = StripNullTerminator(sCodePage)
' Load dll with string table resource.
' Might need to change path for the resdll.
hInst = LoadLibrary("resdll" & sLcid & ".dll")
' Get string with ID 101.
lResult = LoadString(hInst, 101, resString, 255)
With Label1.Font
.Name = "Lucida Sans Unicode"
.Size = 14
.Charset = GetCharSet(sCodePage) 'Convert code page to charset
End With
' Display the localized string.
Label1.Caption = resString
End Sub
S.S. Ahmed
ss_ahmed1@hotmail.com
http://glowbutton.faithweb.com
|
|
|
|
|
Help needed on how to backup and rstore files (not copy) to/from floppy drive from Visual Basic application.
Any help appreciated.
|
|
|
|
|
Anyone know how to get the DOMAIN\username of the person who last accessed a file?
Regards,
George A. Roberts IV
Developer, Nexus Bulletin Board System
http://www.nexusbbs.net/
|
|
|
|
|
I don't believe that information is retained. Good luck though.
Thanks for the help,
Bill
|
|
|
|
|
Hi!!!
Suppose I added a tab control in the form. Can you tell me how can I give different colors to the tabs. Is there any api functionality you aware of. Please help me in this regard.
Imran Farooqui
|
|
|
|
|
I have one field.text with F = "(2*V)+30". In another table
I have the value of V = 50 . Then HOW I CAN TO HAVE R = F, getting R = 130 .
All aid I thanks
|
|
|
|
|
Following order of operations you should get 130:
1. V = 50
2. (2 * V) = 100
3. 100 + 30 = 130
There is nothing wrong with that statement, it should evaluate to 130.
Hope this helps, let me know.
Nick Parker
|
|
|
|
|
hi..
I am trying to design a 'What You See Is What You Get' (WYSIWYG) type Report writer tool... I want the user to be able to place labels, pictures and fields from a Database on to the report.. Can anyone give me tips on how i should do this??
The DataReport designer which comes with Visual Basic does everything i want to do.. Is there a way that i could use the 'design view' of the DataReport at run-time in a VB or VC application and then invoke the actual report through a command button or a menu-option??? In other words, how can i place a DataReport in design mode on a form at Runtime?? Can it be done????
please help
ananth
|
|
|
|
|
This probably isn't the answer you're looking for but hopefully it will help.
If you can afford to purchase a product you should check out ActiveReports by DataDynamics, they have an end user design component. Their website is located at www.datadynamics.com
I have no affiliation with them, other than being a satisfied customer.
Good Luck!
|
|
|
|
|
Read this article, this might give you a clue: http://www.codeproject.com/useritems/datareport.asp
S.S. Ahmed
ss_ahmed1@hotmail.com
http://glowbutton.faithweb.com
|
|
|
|
|
Don't you hate it when you work hard on your project, only to find your client isn't so impressed just because of what it looks like on the outside?
If you need help with graphics and user interface layout, Z Web Graphics can help. We specialize in working with developer's to give your project the image it deserves. We know how hard you work behind the scenes, and we will help you reflect that on the surface.
All you have to do is email us at info@zwebgraphics.com, or fill out our customer profile form located on our website at www.zwebgraphics.com. It all can be done via email, by you telling us a little bit about you and your project, then we can begin designing mock up layouts, and sending you graphics via email. It is all very easy, and very inexpensive.
Contact us at info@zwebgraphics.com or visit our website at www.zwebgraphics.com for more information.
Z Web Graphics
a programmer's best friend
|
|
|
|
|
I'm a system administrator developing (in Access2000 and visual basic) a system for a medical office. I'm new to active controls and now I'm just reading myself through anything that I can find in order to make the appointment system.
Please if anyone knows anything that I can use to be able to make appointments for patients. I will trully appreciate it.
Thanks a lot.
|
|
|
|
|
Dear Friends
Kindly help me i want to print the contents in draft mode instead of letter quality style i have epson 80 columns printer
wait for ur reply
DSS
|
|
|
|
|
Hi,
I have solution for you
HOW TO: Send Raw Data to a Printer by Using VB.NET :
http://support.microsoft.com/?kbid=322090
It works fine
Tancev Sasa
|
|
|
|
|
I am aim to achieve the following. when i click a command/button i want it to sent the text l1 to a text box. also when i click another command/button i want the text in the text box to be sent to the com port. PLEASE HELP!! URGENT!!!
i have about 30 commandbuttons each with there own character e.g L2,L3,T4 ect... the code in which i am using to send these characters to the text box is Private Sub Command2_Click()
Text1.Text = "L1"
End Sub
Private Sub Command2_Click()
Text1.Text = "L2"
End Sub
IF I CLICK ON BUTTON 1 IT WILL SEND L1 TO THE TEXT BOX BUT IF I CLICK ON BUTTON 2 IT WILL SEND L2 TO THE TEXT BOX OVERWRITING THE EXSISTING TEXT I WANT TO SET IT UP SO THAT WITH EACH CLICK IT ADDS THE CHARACTER TO THE EXSISTING TEXT. AND ALSO NEED TO SETUP A CLEAR TEXT BUTTON...PLEASE HELP!!!!!URGENT!!!!!
|
|
|
|
|
Private Sub Command2_Click()
Text1.Text = text1.text & "L2"
End Sub
private sub cmdClearText1_click()
text1.text=""
end sub
|
|
|
|
|
i am work on a TMS (time Management System), a program that record and manage the time records of employees by using a barcode reader machine,
i have the machine, but i don't know the hash code (code that send to the machine to responed, to do certian jobs like download the data store at the machine storage to PC),
is there any one who assist me
i am very thankful to him...
note:if there is any problem to understand the message pls ask me
i am hardly waiting ...
SOASAB
|
|
|
|
|
What kind of hardware is it? You'd be better off talking to the hardware companys support or doing an internet search for this kind of information.
Michael
|
|
|
|
|
Hello,
Can somebody point me to a good and understandible article on using TAB and PROPERTY SHEET Control in Plain SDK and VC++ please...
Thanx in Adv.
-Shrirang
[b_shrirang@hotmail.com]
|
|
|
|