how to align text while printin in picture box or form?
How to align amount to the right like in listview? MY CODES: PIC_PRINT.Picture = Nothing Printer.FontName = "arial" PIC_PRINT.FontBold = True PIC_PRINT.FontSize = 9 PIC_PRINT.Print "Fullname :" &...
View ArticleHelp with GoTo statements and looping
Firstly, I'm new. I'm scripting something that uses FORTRAN and need some help... I believe IF/THEN statements don't work properly here, so I'm forced to use "GoTo" statements. **Goal**: I'm trying to...
View Article[RESOLVED] number of query values and destination fields are not the same
hey got a problem i added to my databse to 2 fields and when i run my programm i get error number of query values and destination fields are not the same Code: ULog = NextID("LogID", "Logs")...
View ArticleHow can I tell which version of vba I use?
This should be easy. I use MS office 2010 and I didn't download any upgrade, but I just can't find it.
View ArticleAssigning to array error
In the below Sub what I have highlighted in red works and I do not get any Compiler error Code: Public Sub SaveStreamBuffer(StreamIdx As Integer, StringRecordBuffer As String) Â If...
View ArticleHow to diagnose crash.... Fault Module Name: StackHash_2f16
Hello, I have an app that utilises web browser object to open a (local) html file enter pass that runs javascript(nothing to do with me) that opens/ decrypts another HTML page with links to the...
View ArticleHelp Understanding This Code
The code appears to work most of the time but I am having problems understanding what is going on especially where the MidB function is being used on an array waveChunkSize has a constant value of...
View Article[RESOLVED] How to find input languages?
I know how to find current input language, but I want to know how to find all input languages which are in the selected input languages list? For example in my case in selected input languages list,...
View Articlesyntax error
hey im trying to show a customer details from 3 tables in access each time i press on the cust to show it in datareport and i get message syntax error query this is the code i put Code: Â If Not...
View Articleheelp needed vb6
hello i wnana make an app which starts automatically when windows star up but after 30 seconds
View Article[ODBC Driver Manager] Data source name not found and no default driver specified
Need your help: Code: Private Sub btnPrint_Click()     Dim reqnbr     As String   Dim category    As String   Dim jcode     As String   Dim part      As String   Dim...
View ArticleHow to startup with administrator rights?
To satrup my program I use "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\" and my program successfully starts with Windows, but my program also requires administrator rights that's...
View Articlehelp extract string from richtextbox to listbox urgent
Code: mail:</td><td class="field"><input name="OWNER_EMAIL" value="" size="40" maxlength="255" class="text" type="text"></td></tr><tr><td...
View Article[RESOLVED] Send picture from one App to another App
I have two Apps. App1 is visible to the user and App2 is not visible. App1 launches App2 and sends it the HWND of a Picturebox using the Shell function..... Shell App2 Picture1.hwnd, vbHide App2 also...
View Articlecode error 09 in vb 6 accounting system
hello everyone this is my first post ... i am having an errors in the code ..: first error is : Private Sub txt_GotFocus(Index As Integer) SendKeys "{end}+{home}" End Sub second error is: Private Sub...
View ArticleRuntime Error 68 when accessing Network Share
I have a program that accesses an access database on a network share. The program had worked properly up until my PC upgrade from XP to Win 7. After some effort, I was able to get VB loaded and...
View ArticleAnyone know what this code is, what it does, and how it works
I got this code off the Net from a project. The best I can make out it sets up some kind of a callback function but I'll be danged if I can figure it out. Code: Public Function sc_Subclass(ByVal...
View ArticleTables won't populate.
Just when I thought it was safe to go back into the water, Jaws torn me a new one. My problem now it seems is my data doesn't show up in my database tables. To explain my problem in few word as...
View ArticleAccess a subdirectory in an ftp://
Hi ! I am web admin in an association, and one of my duties is to respond on files sent to a sub directory in the ftp:// of the web hotel we use for our website. Then I make a list from parts of this...
View Articlemsgbox issue
Hey I just have a small challenge with my messagebox. When I run my form IN vbModal the messagebox shows up on top of the form in modal view which is just fine. But when I just run the form in NOT...
View Article