11,868 Topics

Member Avatar for
Member Avatar for technogeek_42

[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 …

Member Avatar for bushman_222
0
116
Member Avatar for tagpi

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 …

Member Avatar for tagpi
0
119
Member Avatar for Mbt925

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 …

Member Avatar for Mbt925
0
578
Member Avatar for bredes
Member Avatar for binoj_daniel
0
106
Member Avatar for kharri5

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 …

0
107
Member Avatar for AndreRet

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.

0
73
Member Avatar for rajeshkhanna_in

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 …

Member Avatar for rajeshkhanna_in
0
363
Member Avatar for bubbleT

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 …

0
79
Member Avatar for lostandfound

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 …

Member Avatar for hkdani
0
179
Member Avatar for prasadh_king

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 …

0
70
Member Avatar for kharri5

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 …

Member Avatar for kharri5
0
129
Member Avatar for Hemant Mukherje

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 …

Member Avatar for Hemant Mukherje
0
440
Member Avatar for VBNick

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?

Member Avatar for Duoas
0
32
Member Avatar for wolfman800

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 …

Member Avatar for jireh
0
157
Member Avatar for ashishprem

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 …

Member Avatar for jireh
0
116
Member Avatar for MagicBytes

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 …

Member Avatar for technogeek_42
0
151
Member Avatar for SCBWV

Does anyone know how to get the Rich Text Box to save margin information in a file? The RTB seems to ignore all margins.

Member Avatar for technogeek_42
0
74
Member Avatar for newto_vb

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

Member Avatar for technogeek_42
0
73
Member Avatar for rrvb

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): …

0
50
Member Avatar for everlast

can anyone give me a reference to a great tutorial for programming Ti 89 graphic calculator using BASIC?

0
65
Member Avatar for Derice

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 …

Member Avatar for Jx_Man
0
106
Member Avatar for bredes
Member Avatar for zawpai

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 …

Member Avatar for zawpai
0
223
Member Avatar for macbrutal

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 …

Member Avatar for macbrutal
0
101
Member Avatar for vincepitogo101

[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]

Member Avatar for cookhietta
0
40
Member Avatar for iTTaleem

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 …

Member Avatar for hawisme000
0
101
Member Avatar for dinnug

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 …

0
41
Member Avatar for johnericdel
Member Avatar for hawisme000

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 …

Member Avatar for SCBWV
0
80
Member Avatar for LUCY KAMATHI

The End.