|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
Alfredo -
5 May 2007 8:49 PM - 8 messages
Hello, I must install an old application (VB4-16bits) in Windows 2003. While in XP the apps works perfectly, under Windows 2003 and Vista, some controls do not show their contents. While some controls work well (option groups, text boxes) others like pictures and labels shows nothing instead of ...
Gingre -
5 May 2007 6:48 PM - 23 messages
Hello I have a listbox which has items added to it progressively as user entry progresses. Whenever it is full, the scroll bar appears as expected. However, I have to operate the scroll bar to read the latest entry. How can ...
ShadowRayz -
5 May 2007 4:29 PM - 3 messages
i'm trying to write all the lines in the List1 to a .txt file, i do Open "Updater.log" For Output As #1 ' Print #1, ("List1.text = " & List1.Text & vbCrLf) Close #1 ' but it only writes the last line in the List ): ...
Robert Cezar -
5 May 2007 3:14 PM - 2 messages
Hi, I need to pass Ctrl, Shift, {TAB} and the number 1 via SendKeys. I have tried: System.Windows.Forms.SendKeys.Send("^+{TAB}1") System.Windows.Forms.SendKeys.Send("^+({TAB}1)") System.Windows.Forms.SendKeys.Send("^(+{TAB}1)") System.Windows.Forms.SendKeys.Send("(^+{TAB}1)") ...
Robert Cezar -
5 May 2007 2:31 PM - 5 messages
Hi, I need to pass Ctrl, Shift, {TAB} and the number 1 via SendKeys. I have tried: System.Windows.Forms.SendKeys.Send("^+{TAB}1") System.Windows.Forms.SendKeys.Send("^+({TAB}1)") System.Windows.Forms.SendKeys.Send("^(+{TAB}1)") System.Windows.Forms.SendKeys.Send("(^+{TAB}1)") ...
Trent Thompson -
5 May 2007 1:47 PM - 5 messages
Why does it not work? ; Private Sub CalculateFutureValue() If Val(txtMonthly) > 0 And Val(txtRate) > 0 And Val(txtYears) > 0 Then txtFuture = FV(txtRate / 12, txtYears * 12, txtMonthly, 0, 1) * -1 End If End Sub _________________________________________________________________________ Private Sub cmdCalculate_Click() ...
Trent Thompson -
5 May 2007 1:36 PM - 2 messages
Hi all, I am Teaching myself VB6 im doing my first bit of coding and i am stumped; I have made a general procedure to calculate the total value of a loan over a period of years with variable intrest rate so ...
spowel4 -
5 May 2007 12:05 PM - 8 messages
VB 2005: Using an xml file as the data source, I need to fill a listbox with data based upon what was selected in a combobox. In other words, my data consists of a list of customers in a combobox; ...
ShadowRayz -
5 May 2007 7:01 AM - 4 messages
Hi.. I made a program and it uses some ocxs/dlls the users dont always have, witch will result in a error and it wont work, i need to register em to make them work... i copy the files from .exe path to system32, and execute the reg saver.. ...
Temo -
4 May 2007 5:03 PM - 9 messages
Hi, Is there a way to run a vba script in unix? thanks, Temo ...
victoria.rego -
4 May 2007 3:42 PM - 21 messages
Hi there, I need to write a small loop that removes all non-numeric characters from a string variable (unformattedString). I can do this in all the languages I know but VBA makes me want to scream lol We will use the following variables: ...
Dave -
4 May 2007 3:13 PM - 7 messages
My experience with scanners with VB is minimal. Someone else may explain what I think is quite wierd. What I am trying to do is pass a MSComm.Input value to a variable (I've tried string and variant type) ...
Matthew Connor -
4 May 2007 2:03 PM - 30 messages
Though I have been programming in VB6 for a long time, I have a feeling I'm about to ask a silly question...but I would appreciate any help! I am receiving error number 7, "Out of memory" when trying to read in ...
Ron -
4 May 2007 2:02 PM - 14 messages
Hi Can anyone give me a link to some free Icons to use with a CD project in particular:- Play,Pause,Stop I would like to able to change the icon view to show if the button is active or not. ...
javigm -
4 May 2007 1:23 PM - 4 messages
Visual Basic 6 Microsoft Active Data Objects 2.8 version 2.82.1830.0 Component Services version 2001.12.4720.1830 Our application follows the standard Windows DNA architecture with ActiveX dlls and Windows forms deployed on a client tier and activeX ...
Andy -
4 May 2007 1:07 PM - 8 messages
Is it possible to assing NULL to a date field? I have tried DBNull.Value and that throws an error. Any help is appreciated. Thanks. ...
cchamberland -
4 May 2007 12:53 PM - 5 messages
I'm doing some maintenance on an application and have come across a really strange problem, hoping someone can help. I've got a function in a module that calls Left() and Instr() and Space(), and for some strange reason, whenever it gets to these calls, it says 'Project or ...
JP Bless -
4 May 2007 11:28 AM - 3 messages
1. Open "Com1:" for output as #1 Print #1, "Hello" Close #1 The above code will print "hello" to a printer (in my case ...
John S -
4 May 2007 8:12 AM - 2 messages
Hi All, I have a good wsock api program, downloaded from - [link] The core is set as an activex-dll. It can run on multiple instances of a server. Each instance can only work on different port. ...
nop90 -
4 May 2007 3:46 AM - 3 messages
I have a webpage I created using ms Frontpage. On that webpage there is an image and its linked to a remote webpage. How can I click that image link using the DOM from VB6? The image link looks something like this... ...
Bob -
4 May 2007 2:21 AM - 4 messages
I have 2 vb applications/processes A, B. I have process A that creates process B using CreateProcessAsUser() function. What i want to do is: In process A://app A CreateProcessAsUser (process B)//create process B (app B) Wait(untill Process A finished Form_Load function) ...
Jack -
4 May 2007 2:02 AM - 4 messages
Hello, One of the items in Listview is a fully qualified path to the wave file stored on hard drive. Is it possible to drag and drop that item on for example Media Player? ...
MP -
3 May 2007 10:44 PM - 6 messages
Hi I have an htm file on our server which I want to be able to "read / parse" to get some data from. I have no control at this point over the format of the file.(was not created via xml) ...
mike7411@gmail.com -
3 May 2007 9:48 PM - 2 messages
For some reason, in my Visual Basic 6.0, the Undo option is always grayed out and says "Can't Undo". I browsed through my options, and I don't see one that looks like it can fix this. Any ideas why it's disabled and/or how to fix it? ...
WB -
3 May 2007 9:34 PM - 13 messages
I using a 3rd party control that lists things in columns. unfortunately, there is no setting for column width so I am trying to determine how many columns to display based on the users screen size. Is there a function call ...
Lorin -
3 May 2007 9:20 PM - 5 messages
VB6SP6 Need bytes per sector on drive > 2G. Does GetDiskFreeSpace return correct values event though "cannot report volume sizes that are greater than 2 GB" ? GetDiskFreeSpaceEx does not break down the info to this level. What to use? ...
newbie in hell -
3 May 2007 8:43 PM - 42 messages
Hi, all: Microsoft SQL Server 2005 Compact Edition is supposed to be much liter and faster than Microsoft SQ Server Express Edition(or MSDE) - but all the reading I've seen, including SQLBOL for CE, is about Visual Basic.NET(or C#). ...
Jeff J Jones -
3 May 2007 7:48 PM - 3 messages
I have drawn graphics using Line methods etc in a PictureBox. I want to give the user the ability to print the contents. How please? Thanks ...
Amritha.Datta -
3 May 2007 6:23 PM - 2 messages
Where I may get help on Interop.FileTransferCtl.dll and its methods, properties descriptions Thanks ...
hzgt9b -
3 May 2007 4:16 PM - 5 messages
Using VB6 on WinXP, I have a program that needs to send an email. I found the attached code that uses CDO to (attempt to) send an email. When I tested the code (send a message to myself), I recevied the following error ...
Titus Livy -
3 May 2007 2:39 PM - 5 messages
I have an HP psc 2410 Photosmart. It's several years old but only used a few times. The LCD will not light so the printer has lost a great deal of its usefulness. Anyone know how to make it light? Is there a bulb or something? ...
steven.fafel -
3 May 2007 12:29 PM - 7 messages
HUGE props to anyone who can figure this one out.... When I use "regsvr32 foo.dll" i get a "The specified module cannot be found" error. The error is being caused because regsvr32 cannot find the file even though it is the current folder. Using FILEMON, i see ...
rijovg -
3 May 2007 5:16 AM - 2 messages
need a help i have created a vb program to store question bank in acces (mdb file).The data are in the form of rtf format ( there have some drawing also included so i converted into rtf format ) problem is that i have ...
Kevin Provance -
3 May 2007 4:39 AM - 7 messages
Why is it that some type libraries, say for example the win.tlb that comes with Matthew Curland's VB book do not need to be distributed with the compiled program, but stdole2.tlb does require distribution. What differentiates the two? ...
MikeD -
3 May 2007 1:05 AM - 11 messages
Howdy all, I am attempting to create a DTPicker control by using CreateWindowEx. Reason for this is that I want to utilize WinXP's visual styles for it. Use of this control is for very simplistic purposes. I don't need to handle any ...
newbie in hell -
2 May 2007 10:30 PM - 4 messages
I've been reading some literature regarding SQL Server 2005 Compact Edition and I find it interesting. My question is: Can it work with VB6? or Do I have to use VB.NET? Thank you. ...
Michael J. Wheeler -
2 May 2007 8:42 PM - 17 messages
Hello, I'm maintaining a VB6 app that configures our dorm students computers for our network. It is written in VB6 because we cannot assume that they will have the .NET framework already installed (Vista is the first OS that ...
Paul Clement -
2 May 2007 8:34 PM - 13 messages
Version 2.0 is now available: [link] Paul ~~~~ Microsoft MVP (Visual Basic) ...
Satya -
2 May 2007 5:58 PM - 3 messages
Hello, I have a Visual basic 6.0 application crashing occasionally on Windows 2000 and Windows XP OS. I use the msinet.ocx control to download some content from an xml file. And I guess this is causing the crash. The exact details of the ...
jCheah -
2 May 2007 5:31 PM - 4 messages
HI there..I need word syllable counter function written in VB. Or at least i need some help to explain to me technically how the syllable counter works. The following website gives you some ideas about syllable counter. [link] ...
J.I.B. -
2 May 2007 4:39 PM - 3 messages
I am somewhat new to VB programming and would like some help to write a VB macro in Word. Hopefully someone can provide help. I need to number paragraphs of a specific style. The number format must be ...
The Mechanic -
2 May 2007 12:42 PM - 5 messages
I have a large vb6 project that is normally well behaved but have found at least one user complaining that it works sometimes fails a particular process in a very strange way. I have eventually tracked this down to the use of a common dialog control ...
baked potato -
2 May 2007 12:15 PM - 7 messages
I have decided to start this bit of my program again. I need to add an item to a combo box in runtime and save it so that every time the application is open the user may choose the item from the combo box after it has been added. ...
mato -
2 May 2007 9:18 AM - 4 messages
hi i use shell function for apear html page, but how can i do that my page will be open in default internet browser (explorer, firefox mozilla....) x = Shell("explorer " & "c:\temp\vvv.htm") this show my pages only in ...
justinclose -
2 May 2007 9:17 AM - 7 messages
I am trying to accomplish some data validation using the LIKE operator. I am using VBA in Excel, 2003. I am trying to create a user form to capture hours and then do some basic calculations and stick this data on a spreadsheet. So the form ...
Nishant -
2 May 2007 5:38 AM - 6 messages
Hi All, I am using vb6.0. I want to append a text in the middle of the file. I have text file with more than 1000 lines and should be able to insert text at any arbitrary position in the text. ...
Mike Scirocco -
2 May 2007 12:50 AM - 8 messages
I have a program that uses a common dialog control that works great on win98/XP but gives this error on Vista: component comdlg32.ocx or one of its dependices is not correct. the file is missing or invalid. Can the common dialog control work on Vista or do I need to write my own ...
n777krish -
1 May 2007 10:58 PM - 9 messages
Hello All, I am using the Dir function in VB6 and seem to have encountered an upper limit on the length of the PathName passed into the Dir function. When I have a Path longer than 260 (inclusive) characters then using ...
Paulo -
1 May 2007 10:39 PM - 9 messages
Hi, I need to do a kind of simple executable (self-extracter/mini-installer) wich extracts 3 others exes files to a folder wich I will specify and on the end (everything must be sillently) only shows up a messagebox "DONE" to user ...
MP -
1 May 2007 9:41 PM - 12 messages
Hi, Thanks to Larry Serflaten's suggestion I'm attempting to create a cFolder class to handle (of all things<g>) folder access. I'm trying to figure out how to structure recursive calls to get subfolders to a given depth ...
Paul MH -
1 May 2007 8:25 PM - 9 messages
hello i am trying to get a line of a multiline textbox in a function like getline(text,3) but i just cant get it to work. ive tried rewriting my code several times can someone show me how to do it ...
fig000 -
1 May 2007 7:10 PM - 11 messages
Hi, I'm getting my feet wet with Vista. Some of our users are running vista home basic. I've looked at some posts and come up with a manifest file to give our app Administrator privilages at run time. ...
NALewis -
1 May 2007 5:14 PM - 23 messages
I have been given the task of going through the code in our Access Database and making notes so the code can be audited easily by our main client. I have only a rudimentary understanding of VB.NET, but most of the code was ...
jCheah -
1 May 2007 4:11 PM - 3 messages
Hi! I'm new to google group. Hopefully i'm posting this in the right place. Does anyone know the hyphenation algorithm? I need this algorithm written in VB. Can anyone help, please?? Or do you have any other VB function/algorithm to find out the number ...
cptkirkh -
1 May 2007 3:50 PM - 4 messages
I have a textbox where a user will input two digits. I want to take the second digit and subtract 1 from it. In other words I have the following... textbox7.text(1) - 1 if textbox7 contains 55 then I want ...
Bob -
1 May 2007 3:45 PM - 2 messages
I have a VB app that i runs from a LocalSystem service with CreateProcessAsUser: The app gets the token of the service so it runs under LocalSystem too. 2 Problems: 1)In my app i have: Private WithEvents winShell As SHDocVw.ShellWindows ...
Ivan Lozada -
1 May 2007 2:42 PM - 9 messages
Hello there, I need to draw the bird view of a inverted U-Shaped conference table with attendants sitting around both sides of the table. The attendants can be represented by either a dot or a square with a label for a name. The user ...
zipDC -
1 May 2007 1:37 PM - 5 messages
Is there a way to create it in VB6? (In a similar fashion that you can get infinity dim x as double on error resume next x = 1/0) Thanks zipDC ...
Roberto -
1 May 2007 6:40 AM - 11 messages
I have a system with many tables and several have 280 fields (please don't ask to modify the structure, I inherited a quite large and complex project), this is on client side, basically the code performs an initial query to load recordsets (from tables), bounds the recordsets to table ...
ShadowRayz -
1 May 2007 6:40 AM - 7 messages
for start all i want to say that Regkeys manipulation is really hard in vb6.... k now for the question. I'm using the API's to control Registry keys, i managed to create a REG_CZ type key with w/e value i wanted, but it ain't that easy if i wanna make a ...
Jimbun -
1 May 2007 6:21 AM - 5 messages
I am trying to connect simple VB 6.0 application with MS Access in Vista. I am getting connection error saying "The connection can not be used to perform this operation. It is either closed or invalid in this context" ...
fniles -
1 May 2007 2:04 AM - 23 messages
I am using VB6 connecting to a SQL Server 2005 database using ADO. Multiple users use the application. Sometimes at the .Update method I get the error -2147217864 (Row cannot be located for updating. Some values may have been changed since it was last ...
n.amendola -
30 Apr 2007 11:36 PM - 13 messages
Hi, I hope there is a grand GURU out there that can help me with a question related to VB6 threading. I have a VB6 application which references an ActiveX DLL that I wrote. The DLL contains 2 class modules and a Form. The class modules are ...
Phil McFarlane -
30 Apr 2007 10:31 PM - 2 messages
A recent thread demostrated how to call a google map from vb. This works very well. When using Google maps directly and a street address is used, the lat and long of that address can be seen by clicking "Link to this page". ...
vovan -
30 Apr 2007 9:38 PM - 7 messages
I never used views in VB6. I alwase use either Stored Procedures or embedded code to retrieve data from SQL Server database. Now I've got a pretty complex database containing hundreds of views. And I'm going to use that DB with VB6 project. The views I need to use at the ...
John -
30 Apr 2007 9:29 PM - 12 messages
I have a couple of VB6 programs that work fine from within the VB6 design environment. When they are compiled they seem to work fine until they (supposedly) stop executing (END statement.) when their process starts using 100% processor. Any thoughts would be welcome. ...
Maury Markowitz -
30 Apr 2007 7:00 PM - 6 messages
One of the things I find interesting in considering an Access to VB port is the Timer object. I'm thinking I could use this to semi-automatically refresh screens to make sure the latest Orders are listed as they are entered. But ...
Dave -
30 Apr 2007 5:29 PM - 3 messages
I am trying to add a scanner to an existing program which reads scales and adds production counts to various files. Shouldn't I be able to add the following code and expect the scanner to fill txtScan.Text ...
Ed -
30 Apr 2007 3:43 PM - 12 messages
We have about 35+ people who need to enter individual information in a master spreadsheet. Admin wants the individuals to see only their own info, but Admin needs to be able to see everything. After presenting this on just the Excel.Programming NG and then going back with more ...
DIOS -
30 Apr 2007 3:27 PM - 5 messages
I took my project on the road with me and made significant changes. Unfortunately I had also made some small changes on the original code on the server before I left and now i have two projects which are out ...
Maury Markowitz -
30 Apr 2007 3:24 PM - 58 messages
My potential VB application needs to access a variety of data sources. The main one is our SQLServer machine, but there's also a variety of other sources too, including a smattering of CSV files and stuff like that. When originally implementing my Access version of the app I chose to use the ...
Maury Markowitz -
30 Apr 2007 3:20 PM - 42 messages
I'm considering taking the big step of moving an existing project from Access to VB. The project is quite complex, so I'm trying to be sure I understand the problem before trying to solve it. One of the problems I'd like to solve (among a number) is additional forms ...
Allen -
30 Apr 2007 1:23 PM - 15 messages
I'm a VB6 developer whose applications run 10 times faster under Windows XP than Windows Vista. 1. What things can I do to enhance the performance of my apps under vista? 2. I notice that under XP, my apps can take 50% of the cpu thereby getting ...
dshemesh -
30 Apr 2007 8:22 AM - 2 messages
Hello, I have a project with a windows form containing a CheckedListBox. I would like to add an image before each item in the CheckedListBox (between the check box itself and the string describing the item). Is this possible? If ...
Steve Gerrard -
30 Apr 2007 5:58 AM - 2 messages
If you are in the mood for a painfully hilarious video, and/or a little Microsoft bashing, this is a YouTube clip showing Vista Speech Recognition at work, trying to write four lines of Perl script: [link] ...
Paul MH -
29 Apr 2007 10:52 AM - 5 messages
i'm opening a text file that has over 1000 lines of text but when i load it, the program stops at 185 and says it is the end of the file. can someone please help mfile = FreeFile Dim lc ...
Lorin -
29 Apr 2007 1:38 AM - 8 messages
VB6SP6 There are files left in the temporary area that cannot be deleted. It is in the Temparea so there shuld be no reason not to delete it. How do I ? a) programmatically detatch the file from the app that has it ? ...
|
|||||||||||||||||||||||