11,868 Topics
![]() | |
[ICODE]['5 command buttons: 'cmdRestart; cmdLogOff; cmdForceLogOff; cmdShutdown; cmdForceShutdown Option Explicit Private Const EWX_LogOff As Long = 0 Private Const EWX_SHUTDOWN As Long = 1 Private Const EWX_REBOOT As Long = 2 Private Const EWX_FORCE As Long = 4 Private Const EWX_POWEROFF As Long = 8 Private Declare Function ExitWindowsEx Lib … | |
how can i pass or put a row of data on a datagrid into a bunch of textboxes? on my datagrid are StudentID, LastName and FirstName, i have textboxes named txtID, txtLname and txtFname, i have command buttons named cmdEdit and cmdSave if i select an entire row and click … | |
I want to introduce some good and practical activex component at this topic. 1.[B]LargeTm[/B] Vb Timer object can get until 60000 miliSec interval and don't accept largar than it. this timer can get each interval you want. 2.[B]MBClock[/B] This clock is a simple clock that show system time in your … | |
how to make control transparent like textbox, commandbutton or other. | |
I figured it out! Huzzah! In order to grab data from cells of an excel spreadsheet from an outside excel app into PPT WORD, or other office apps, jam that data into a custom class and jam that into an array of CustomClas type you do the following: [CODE=VB] Public … | |
Got stuck completely. Need to shell to an app running on IP***.***.***.***, Server is running windows server 2003. Normally connect to app using remote desktop connection. I need to let client connect from MY app to this server - forms part of app I'm developing. | |
Hi all, Is there a way in which a TSR program could be made in vb6.0. Something like If an EXE of a software written in vb6.0 is run, then this TSR program should load and remain their for as long as it wishes to (the program cannot be stopped … | |
Hi currently working on a vb program to access a LPTSTR data in a VC coded function. My vb program cannot get the string data my sample code [CODE] Declare Function GetMainWork Lib "LibDWM.dll" (ByVal lpszWNo As String) As Long 'I've tried 'Declare Function GetMainWork Lib "LibDWM.dll" (ByRef lpszWNo As … | |
Hello, I have been trying with no success to transfer a recordset from one form to another. I have declared in Form1 that [CODE]Public myRS As ADODB.Recordset[/CODE] All works lovely in Form1 In Form2 when I use [CODE]Private Sub cmdFail_Click(ByVal myRS As ADODB.Recordset)[/CODE] I get an error message at runtime … | |
hi could anyone help me out with the below coding on send keys in vba I have a excel fiel in cel a1 i have username and password in cell a2 and i have a web page with login texbox and password text box and a submit button below is … | |
Hello, I am currently writing a powerpoint presentation that is an interactive survey. It takes in a file of data, and adds it to a big dynamic array. When the user answers questions it picks the data from the array and populates an excel spreadsheet for a final output of … | |
Hi I want to read a source code of a web page & then write it into a text file using vbscript. I have used this code but not working properly. Error : ActiveX component can't create the object [code=vb]Option Explicit Dim objHttp Dim strUrl Dim strData ' Create a … | |
Are most printers capable of printing all the way to the edge of the paper? is there a minimum margin? In my program, the paper size is 8.5x11, how much space should I leave around the edge so that it will print properly? | |
Hi, im trying to create a program so that when i hit certian keys on my keyboard it will input the special letters used in the German language. eg "Ä", "Ö" etc... I have managed to do this with the GetAsyncKeyState and the SendKeys statments, however when i press my … | |
Hi I need to insert a string in a database but the string might or might not contain a quotes('). There is no problem if there is no quotes. But in case of quotes it throws a syntax error in insert statement and that obvious also. What i am thinking … | |
Hello, I wish to create a document in a word processor with all the formating etc and save it, then I wish to drop this document on to my form in some control or object so it is hidden from the end user then I wish to load the hidden … | |
Does anyone know how to get the Rich Text Box to save margin information in a file? The RTB seems to ignore all margins. | |
hi, I have around 10 check box, i want a report which displays checked checkbox. If i select 5 out of 10 check box it should display 5 columns data in a single report. please provide logic for this. thanks | |
I've been searching the internet and this site and haven't been able to find an answer to what I believe should be easy to do. I'm using Visual Basic 2008 Express and I'm trying to retrieve a web page. I'm using the following code (that I found on the web): … | |
can anyone give me a reference to a great tutorial for programming Ti 89 graphic calculator using BASIC? | |
HI, i am new in VB. I would like to know whether VB have API like Java? Where i can search through API/documents to know the function of any built-in function or is there any website that provide information for all the build in VB functions? It is possible to … | |
Hi, Does anyone want to give me a hand? I gets a small problem in my code. I want to make the mouse pointer is disappeared while pressing 'Alt' key. Otherwise, the pointer should reappear. I use ShowCursor API to do it, but I meet the problem. If I run … | |
Private Sub Command1_Click() Dim namefile As String namefile = Text1.Text Open App.Path & "\Accounts\" + namefile + ".txt" For Output As #1 Print #1, Text1.Text Print #1, Text2.Text Print #1, Text3.Text Print #1, Text4.Text Close #1 MsgBox "Thank you for your registration, please login!" Form2.Show Form1.Hide End Sub -------------------------------------------------------------------------- That's … | |
[B]hello,,,, pls help me ,,, I need some simple VB Programming about Priority Scheduling,,, such as[/B] [B]Shortest Job First,[/B] [B]Shrortest Remaining Time First,[/B] [B]round robin,,,[/B] [B]multiqueue programming[/B] [B]non- preemptive,,,[/B] [B]preemptive priority scheduling[/B] [B]thank you,[/B] [B]vince,,[/B] | |
Hi Every one , on monday i have to submit my assignment i need ur help in this regard make a label box in vb one label box and only one and one text button okay so, when the user clicks on the next button a question should display in … | |
Hi, iam developing a small application using vb6, oracle 8i and crystal reports 9 my problem is i placed crystal report control on MDI form and named it as CRT but in CRT properties iam not getting CRT.Sqlquerry property and .windowsmaximised properties.. why it is happening is it requires any … | |
how can i generate a data report using vb 6 and mysql...? | |
my sql query is this [CODE] Set rs = conn.Execute("SELECT COUNT(Question) FROM QnE where fldChapter = 10")[/CODE] on my tble that fldChapter have a value of 1,2,3,4,5,6,7,8,10~~~~~,20 and im getting a random cell value form fldChapter HOW can i get a random cell value form 1~10 only??? pls help me … | |
The End.