|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
MAB -
22 Jul 2006 11:43 PM - 15 messages
Is it possible to use %SystemRoot% in code i.e. automatically converts to the Window system folder (different depending on the Windows OS version)? If it is possible, how is it implemement (code snippet would help)? ...
MAB -
22 Jul 2006 9:33 PM - 3 messages
If this is not the correct forum for this then which one is? I want to reference a distributed (a purchased) DLL in the subroutine it's being utilized in. I'll use ShellAndWait Win API wrapper routine to register ...
MAB -
22 Jul 2006 2:40 PM - 10 messages
How can I test to see if a DLL is registered or not? ...
pcnerd -
22 Jul 2006 2:03 PM - 12 messages
I have VB6 Learning Edition. I wanted to try VB.NET 2005 Express Edition. I got it along with some books on VB.NET. One of the books has the VB.NET software & SQL Server 2005. I installed both. I tried to learn VB.NET, but I ...
pcnerd -
22 Jul 2006 1:49 PM - 12 messages
I have VB6 Learning Edition. What's the difference between MessageBox & MsgBox? The Help doesn't help much. Are they interchangeable? Thank you. David ...
Mike Williams -
22 Jul 2006 9:37 AM - 11 messages
I don't normally use the VB Package and Deployment Lizard but I've just been giving it a try and I've come across a rather annoying problem. After installing a small VB test program I looked for it in the Control Panel "Add ...
suhas -
22 Jul 2006 8:53 AM - 4 messages
Hi I have a running (client server) Application with VB 3.0 ,Win NT server and Win NT workstation with MS SQL 6.5 I want to Run my VB 3.0 exe on Win 2003 and win XP environment with MS ...
Carlos Villaseñor M. -
22 Jul 2006 3:32 AM - 4 messages
Hi everybody! I finally have success implementing my first DLL function, I have exported a C++ function with a DLL using the "Declare" statement in Basic, but now I have a doubt, how can I to pass an array in the DLL function parameters ...
Jerry -
22 Jul 2006 2:01 AM - 4 messages
I have created a form that controls the copying of several files. After each file is copied it is added to a listbox. By problem is that after a while the form stops gettin updated. When I move the form I find an identical ...
zshall -
21 Jul 2006 10:40 PM - 6 messages
When I get a message in my VB AIM client, it is in the form of HTML. <tag><tag><tag>message.</tag></tag></tag> Is there a function that will remove that html so users can see a clear ...
me -
21 Jul 2006 10:32 PM - 4 messages
I am working on a project, as an intern, using Access 2003 with VBA code referring to a previous project that is being overhauled. I saw the statement "Option Compare Database" at the top of each fform's Code view. What is it? ...
Andrew -
21 Jul 2006 10:24 PM - 3 messages
Apologies if this is a basic question, but I've found several suggestions through google of how to do this and none of them seem to be working (note: this is in VB6, on a Windows 2000 PC) I want to create an exe where, on the click of a button, a specific file on ...
Tim France -
21 Jul 2006 8:40 PM - 8 messages
I need to create a module that opens a word document template and positions fields throughout the document (for check printing). So the check amount, memo field, etc etc... need to be in pretty specific locations on the document. I have a form that allows the user to test print a check and make ...
Ben -
21 Jul 2006 7:16 PM - 3 messages
Hi all, I would like to ask if there's a way to simulate a double click on a icon using something like sendkey or some other means? Thanks for your help. Ben ...
Newbie -
21 Jul 2006 6:02 PM - 8 messages
Instead of just moving on to the next control when it finds a control that does not have a Text property, I get a message: Error 438: Object doesn't support this property or method. On Error Resume Next ...
Levon Levonian -
21 Jul 2006 4:02 PM - 4 messages
Hi All, I have an interface IProduct. Several classes (Window, Door, etc.) implement that interface. I create an object like so: Dim myWindow As IProduct Set myWindow = New Window Using methods defined in interface and implemented in the class is ...
gonzosez -
21 Jul 2006 3:49 PM - 3 messages
I have a file (mine.ini) where I need to replace every "," with a "~". How do this? Thanks ...
ZipDC -
21 Jul 2006 3:40 PM - 2 messages
Hi I have a menu that I have created in another porcess, but after some time it disappears and I guess that this has been done with remove menu, because the handle is still there. How do I restore it and make it visible? ...
jimmy -
21 Jul 2006 2:44 PM - 2 messages
Hi, i have a VB6 application which currently uses a com+ dll to access, update and delete all data. Currently whenever i need to add a new reportt i need to add a new procedure to the dll to pull back the required recordset. should i ...
Emeric -
20 Jul 2006 10:12 PM - 4 messages
hi, I'd like to draw this kind of 3D charts : [link] (get from Excel) with a MSChart control (in VB5). Is it possible ? If yes, how ? I've tried but I can't get any surface, and I can't make any legend appear ...
Tom Gaughan -
20 Jul 2006 9:35 PM - 3 messages
Does anyone know how to change the name of a document being sent to the VB 6.0 printer object. They are always called "Microsoft Visual Basic". Thanks, Tom ...
Vidit -
20 Jul 2006 8:53 PM - 2 messages
I have the following problem: I'm using the function GetProcesses in the class Process ( System.Diagnostics ) to get information about processes on the PC's I have administration privilegies. Do anyone know what the problem lies ? The error I get is: ...
Brian in London -
20 Jul 2006 6:55 PM - 2 messages
Why does "On Error" occasionally fail to make a difference with the following web query? Once in a few hundred iterations there will be a timeout or resource not available message that does not seem to get caught by On Error. ...
Andrew -
20 Jul 2006 5:29 PM - 7 messages
When I open the myapp.vbp it automatically invoke the installer (the msi file), I have to hit cancel several times before I can get to the VisualStudio IDE. Also, when I run from IDE, the installer keeps popup. Questions: ...
josus -
20 Jul 2006 2:21 PM - 8 messages
Hey everybody, I'm looking for VBA source code (using Ms-Word) that would would allow me to: 1- Initialize a variable (ie. "replacement-text") 2- assign content of highlighted text in variable "replacement-text" 3- replace (Ctrl-H) regular text (ie "searched-text") with content of ...
n3sachde -
20 Jul 2006 1:24 PM - 9 messages
Hi I am passing a Date variable in VB 6.0 to a function and a sub as ByRef When I pass this variable to a sub, despite of my using ByRef the value of the date Variable is not changed, however when I pass the same thing to a ...
Atenza -
20 Jul 2006 11:34 AM - 6 messages
Hi all, I have the following code to dynamic create a tab and label: Set m_sstab = Me.Controls.Add("TabDlg.SSTab", "m_sstab", Me) m_sstab.Height = 2000 m_sstab.Width = 2000 m_sstab.Top = 500 ...
KenEisman -
19 Jul 2006 10:34 PM - 2 messages
I'm trying to read in a text file using code that I copied and pasted from the MS help file. Using Reader As New _ Microsoft.VisualBasic.FileIO.TextFieldParser("c:\bankcheck") ...
Jesse -
19 Jul 2006 9:52 PM - 13 messages
Hello, I have programmed in several languages, but never VB before (not regular VB anyway). I've got a customer with an old application written in VB5. They only want a few simple changes, so I picked up a copy of VB5, and am ...
newcomer -
19 Jul 2006 8:58 PM - 10 messages
I am testing our VBA macro features. I would like to run my VBA test scripts programmically as a part of automation process. Is there any way to do that? Thanks in advance, ...
Rick -
19 Jul 2006 6:49 PM - 2 messages
How can I make a user defined function be called by anyone, not only dbo? I tried with Grant Execute on functionname to public. but I always have to write "dbo." in front of the function when I call it. ...
Bob Delaney -
19 Jul 2006 5:48 PM - 14 messages
I am sure this queston is asked from time to time, but I have scrolled through this newsgroup, and cannot see it asked or answered recently. I am running a stable copy of Visual Studio 2003. I am planning to upgrade ...
Martha Hoffmann -
19 Jul 2006 4:48 PM - 8 messages
I have used netDDE with VB6 in the past to pull data from an application running on another computer on the network. Can someone point me to some instructions on the best way to do this in VB.net? ...
David Bland -
19 Jul 2006 2:58 PM - 3 messages
Hi all I have set one of my command buttons to Style Graphical so I can place a picture on it, only problem is the text for the button has been pushed to the bottom of the button, is there a way to centre it? ...
spy4phun -
19 Jul 2006 2:53 PM - 4 messages
I am attempting to click a button on a web page through vb. I am using WebBrowser.Document.documentElement.all("textboxname").Value = "something" to fill in text boxes. The button i need to click displays like this in the HTML: ...
Jonathan -
19 Jul 2006 2:27 PM - 6 messages
Hello all, I want to copy a file into a zip folder in VB6. Right now I'm invoking EXPLORER.EXE with Shell() and doing SendKeys to create the Zip folder. This seems pretty kludgy. Are there any cleaner alternatives? ...
Dick Sutton -
19 Jul 2006 2:02 PM - 4 messages
I have a small office Lan with 10 computers all running XP Pro. I would like to only allow certain computers access to the internet. We are currently connected via a cable modem & router: all computers have access. ...
Jim -
19 Jul 2006 1:33 PM - 4 messages
I am using a monthview control. if while the program is running the system date changes (at midnight) the "Today" remains on the previous day unless I close and reopen the program even if I run monthview1.refresh every minute. Am I missing something? ...
David DB -
19 Jul 2006 1:00 PM - 4 messages
Hi, Does anyone know of some code that allows a user/password check against AD ? The one I'm using know crashes in some systems. Thanks, David ...
David Bland -
19 Jul 2006 10:19 AM - 4 messages
Hi all I have the need to make frames I have on a form transparent so the picture on the main form shows through is this possible? David ...
Visual Basic - exception breakpoint.. -
19 Jul 2006 8:33 AM - 3 messages
Hi, I have been getting following error message when I navigate through vb application I wrote a while ago. any ideas why this is happening. any help would be appreciated Thanks! error message: "Application error: The exception Breakpoint. a breakpoint ...
vinci -
19 Jul 2006 5:55 AM - 4 messages
hi friends, i am using visual basic6 i want shortcut keys in visual basic (eg. f4 properties, ctrl+spacebar --> display properties and methods). And one more which site free online ...
Michael Ray -
18 Jul 2006 11:22 PM - 5 messages
I've not had to deal with drag-drop before and from what I've read trying to find a solution to my problem, it can be tricky at times. However, I'm modifying an existing app that already has drag-drop ...
fdeckerNOSPAMM -
18 Jul 2006 8:29 PM - 5 messages
If I have several enums, I want to know what their group is, not just intellisense for what the actual enums under the group are. I need it to be like the .NET languages or Borland languages. In other words: ...
Ed -
18 Jul 2006 7:02 PM - 7 messages
How do I get my form to open higher up on the screen? I tried setting Me.Top = <various values>, and even Me.Top = (Screen.Height - (Screen.Height - 10)), but nothing works. What's the secret? ...
Jonathan -
18 Jul 2006 6:26 PM - 5 messages
Hello, Is there a way in VB6 to loop through the files resident in a folder and determine which one has the latest date? The file-name will conform to a specific format. Any help will be much appreciated. Thanks, ...
Reply -
18 Jul 2006 5:20 PM - 5 messages
Hi all Is there a way within VB6 to send a keystroke to my own application (which is alive and well, but does not necessarily have focus)? Basically, I have an external device which, when used simulates key presses using the VB6 command "SendKeys". Unfortunately, I have noticed ...
Phil H -
18 Jul 2006 4:30 PM - 4 messages
I have a VB.NET console application that uses the Excel PIA. I set it up to run on a W2K box through Task Scheduler, under a domain account that has rights to all of the resources the app uses. I can run this application on ...
Ben -
18 Jul 2006 4:04 PM - 6 messages
Hi all, I have a batch file which uses the Copy command in DOS mode. I like to know if there is / are something equilvalent in VB. I like to replace the batch file completely. Basically the batch file does a merge of multiple input files and merge them ...
Howard Kaikow -
18 Jul 2006 2:48 PM - 18 messages
I'm in a masochistic mood. Is there a book that will bootstrap me so that I can study the assembly language generated by VB? I could plod thru the Intel manuals, but a book should get me going faster. ...
Valli -
18 Jul 2006 2:10 PM - 2 messages
Hi, I am in need of knowing which type of replication is the best to use in SQL server. My application runs at the server place and there are client processes running in remote which gets connected to this server process . ...
vm -
18 Jul 2006 1:35 PM - 3 messages
Is it possible to drag a file on a VB6 icon which will launch the app of the icon and have the file that was dropped on the icon be processed as an input file...I have looked for code samples and have only found drag and drop code ...
JoJo -
18 Jul 2006 12:41 PM - 2 messages
Folks: Looking for a script (DOS/VBscript/etc ) that would allow me to remotely switch on Remote Desktop Connection (RDC) on a windows XP machine Thanks, John. ...
CoolDude -
18 Jul 2006 12:12 PM - 9 messages
[link] ...
John W Rippin -
18 Jul 2006 11:05 AM - 2 messages
I have just purchased VB6 Learning Edition. When I try the setup I get an error message saying: config.nt. The system file is not suitable for running MS-DOS and Microsoft Windows applications. Chose 'Close' to terminate the applicaiton. ...
Peter T -
18 Jul 2006 10:36 AM - 6 messages
Hi, I'm trying to re-create in VB(6) how my drag-drop works with my VBA/MSForm. I have a grid of CommandButtons as a ControlArray (in VBA though a WithEvents class to trap button events) On button press and mouse move start-drag. Actually only after X or Y move ...
Pixaar -
18 Jul 2006 8:02 AM - 2 messages
hello.. I am new to VB and really new to LDAP I am trying to write an application for our lunch card system...where a student's card is read by a barcode reader and the information (a string) is sent to the LDAP and some attribute value is accessed. ...
CorfuVBProgrammer -
18 Jul 2006 7:40 AM - 5 messages
Hello . . . ! ! ! I have create an application using VB6 that contain a *.res file. When i try to test the application thru the VB Environment using the run menu start ( â–º Start F5) ...
Wagon -
17 Jul 2006 10:29 PM - 6 messages
I I think I have a resource problem with my VB 6 program. It's a very complicated program with many controls. very rarely,when I attempt to run it with too many other programs open,I get an out of memory error ...
JIM.H. -
17 Jul 2006 8:37 PM - 5 messages
Dim ts As TimeSpan = crun.Subtract(lrun) I am using this to find the elapsed time, is there any way I can do this comparison without time part, such as if lrun=07/16/2006 and crun=07/17/2006 ...
Troy -
17 Jul 2006 8:04 PM - 3 messages
Public Sub test() DoCmd.OpenTable ("OSM Table 1") End Sub I'm this far, yes I'm that good. What do I need to do to make it sort the table by ascending order from a field called [Meal Total]? Please ...
Ed -
17 Jul 2006 7:25 PM - 16 messages
I have the Learning Edition. My project currently consists of three forms and a text document (contains an explanation of how everything is supposed to work and how to use it like it's supposed to be used). I also see a ...
Thomas Malia -
17 Jul 2006 6:43 PM - 6 messages
I'm just trying to do some simply profiling on a program that's running slow. I started by wrapping blocks of code in: Dim d as date d = now() '* Block of code debug.print datediff("s", d, now()) This was only giving me seconds which it turns out many of the blocks of ...
dokter cinta -
17 Jul 2006 3:38 PM - 3 messages
hi all its me again i have a problem to show legend used checkbox i mean the legend will show if i click the checkbox and show more legend if i click more checkbox please show me the logic or code ...
MaurizioA -
17 Jul 2006 2:54 PM - 8 messages
I use Visual Basic 6 with an MS Access 2000 data base and jet 4.0 I have the following error: 80004005 - can't open any more table. I know that this is because jet 4.0 is limited to 2048 tableid, and probably ...
Advo -
17 Jul 2006 2:25 PM - 3 messages
Hi there. Basically, i need to be able to send an XML file to a website, this is the information the website has given me: "Requests are submitted via the HTTP POST method, with a Content-Type of text/xml. Sessions are usually synchronous, with the requested XML ...
belli.luigi -
17 Jul 2006 12:06 PM - 19 messages
I have the following problem, maybe somebody can help me: In a PictureBox control I load an EMF file, then in a MouseMove event, I recognize the polygon in which the mouse cursor is moving, then I color filling it. ...
PC -
17 Jul 2006 11:43 AM - 3 messages
how can save a variant that contains an array of objects to disk, and retrieve it back sample code: ---------------------------- Class1: Public TheLong As Long Public TheString As String ---------------------------- Form1: Dim TheClass(10) As New Class1 Dim TheVariant As Variant Private Sub Command1_Click() ...
sm -
17 Jul 2006 9:05 AM - 4 messages
I had a program running fine in VB with Win XP. Suddenly It started giving this error 380. I had not made any change in the code. strSQL_iscompl = "PARAMETERS [VOUCHER_NUM] string;SELECT chq_dd_no,chq_dd_dt FROM " & m_vouch_dtl_table & " " _ & " WHERE (Vouch_No=[VOUCHER_NUM]);" ...
shweta -
17 Jul 2006 8:44 AM - 7 messages
hello, I want to store data in a text file instead of using database so how can i? Tell me the code. ...
shweta -
17 Jul 2006 7:21 AM - 9 messages
Hello, As per my information dialogic card is a h/w and IVRS(interactive voice response system) is the s/w that run on that h/w.I want dll code so i can try to make samething i.e IVRS using VB ...
Jim Carlock -
17 Jul 2006 2:13 AM - 40 messages
I'm parsing logfiles. I ran into a problem with TextWidth(). The length of one of the lines is over 32000 characters in length and TextWidth() overflows. Does anyone know of an API function that might retrieve the length of a line of text? Or perhaps another alternative ...
Martin A. Weinberger -
17 Jul 2006 1:24 AM - 7 messages
Hi All, I have the HTML for a document loaded and saved as a string, strHTML. I also have a WebBrowser control, WebBrowser1. How do I set the content to the HTML string without saving to a temporary file and then passing a pointer to that ...
pcnerd -
17 Jul 2006 12:36 AM - 7 messages
I have VB6 Learning Edition. I want to have some kind of Help & I don't want to go thru the hassle of learning HTML Help or Windows Help. I can use an external text file, but if the file is missing then VB will complain. I'd ...
SDwyer -
16 Jul 2006 7:01 PM - 2 messages
I'm still new to VB, so this may be an easy question... I have to generate a business travel expense attachment for an income-tax return. The problem I am having is that I need to display the output in a list box that becomes visable when the button is ...
Mario -
16 Jul 2006 3:11 PM - 6 messages
Is there way to center the text vertically in a label? ...
Ivan Debono -
16 Jul 2006 6:49 AM - 14 messages
Hi all, This is what I'm trying to achieve: 1. Application starts through Sub Main. Calls a separate exe to check for Updates. 2. Update checks for any new updates and if any found, displays a form and executes the updates ...
|
|||||||||||||||||||||||