|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
Help! - Error occurred while regsitering msado26.tlb????
Lisa Forde -
17 Dec 2005 6:44 PM - 12 messages
Hi. I have created a small application and then created a setup package for it using the Package adn Deployment wizard and everytiem I install teh application I get the error above. The thing is, if I slelct continue the ...
Open text file
Tommy -
17 Dec 2005 6:41 PM - 8 messages
Hi, I want my application to open a text file in notepad. What's the easiest way to do that? /Tommy ...
Detecting caption wrap in command button
Jack -
17 Dec 2005 5:59 AM - 3 messages
Hello, I need to make command button (standard style) caption to appear left justified. That caption and the button width is user controlled so I cannot hard code it. To justify left caption I am planning to add spaces following the caption. ...
ListView and SQL Server update question
Jason Huang -
17 Dec 2005 3:39 AM - 3 messages
Hi, In my MyForm, there's one ListView control listView1 in the MyForm. The ListViewItem in the listView1 MATCHING EXACTLY the data in a SQL Server database table Customer. e.g., Serial ID Name ...
VB6 and SQL Express 2005
David De Bono -
17 Dec 2005 12:47 AM - 9 messages
Hi, I'm trying out the SQL Express 2005 installed on my server. But I cannot get a connection. Code: Set connDB = New ADODB.Connection connDB.CursorLocation = adUseClient connDB.Provider = "SQLOLEDB" ...
Booking System
kingy2@gmail.com -
16 Dec 2005 9:06 PM - 19 messages
Hello, As a student i was given the task to create an application for a local theatre. Except i am struggling on how to implement this. I have been told the project must be done using Visual Basic 6 and a database. ...
Search within files in a directory (VB6)
AmytDev -
16 Dec 2005 6:48 PM - 4 messages
HI. I have a directory of files that I would like to search through for a specific line. I would then like to write that line and the filename to a text file. I just don't know how to do this. I'm still learning how to use VB ...
Visual basic 6.0 Pro (not the educational version)- where can I find ?
anon -
16 Dec 2005 5:42 PM - 36 messages
Anyone know where I can get a reasonably priced version of VB 6.0? Is it always wrapped into the Visual studio package? I bought and tried Net, don't like it, would rather upgrade from my VB 5.0 ...
How to do this
luigidon -
16 Dec 2005 3:27 PM - 9 messages
Hello! I am beginner in programing VB and I have a question. I would like to make a program, which will do the sum of the hours that I am on work. So that I would type for example 4 hours and the sum will ...
help concatenating two or more wav files
john dekker -
16 Dec 2005 3:25 PM - 2 messages
struggling to find a code snippet that shows how it can be done jd ...
Lock the desktop and all other programs.
Amit Mohod -
16 Dec 2005 11:20 AM - 27 messages
I want to develop an application which will lock the desktop and only my application will run. when i shut down my application windows will also shut down. In other word I want the user to restrict to use only my application and he ...
Help with placing one form over another...
Lisa Forde -
16 Dec 2005 10:14 AM - 5 messages
Hi. I have 2 forms frmX and frmY. frmY gets covers frmX at some interval of time, except that the statusbar of frmX remains visible. I can cover the whole of frmX with frmY but if I try to adjust frmY to show the statusbar on ...
MS Comm input
zeman -
16 Dec 2005 9:39 AM - 2 messages
Hi all, I have a machine (switch or router) connected to my COM port. I need to get the input from that machine, such as the hostname, or any other character. I want to WAIT for that character. How do i do it? ...
(Tea Time) finally, my app works...
Boki -
16 Dec 2005 7:58 AM - 3 messages
YA, take about 15 hours... to debug an array that I forget to plus 1... : ) Problem: Why every JEG files collected data from Serial port stream is incorrect. Debug: 1. Convert byte to JPG data and then load to picturebox. ...
Naming Conventions VB
Joe -
16 Dec 2005 5:17 AM - 6 messages
Is there any standard for Naming Conventions to VB ...
How to call Shell ("c:\del *.jpg")
Boki -
16 Dec 2005 2:50 AM - 10 messages
Hi All, I wan to run a dos command as: Shell ("c:\del *.jpg") Could you please adivce which statement is correct ? Thank you very much! ...
Creating A New Project
Lee -
15 Dec 2005 10:46 PM - 7 messages
One thing that I see is a short fall when creating a new project is not being able to select where I want to create the project, just having 1 default directory in the "Projects and Solutions" tab just bites! I do not create my ...
Trouble making sense of binary file data.
frodereck -
15 Dec 2005 9:48 PM - 13 messages
As the new guy, I've inherited this project that reads data from a binary file using tons of statements that we all love: Open txtFile.Text For Binary Access Read As FileNum ThisPieceOfStrData = Space(6) ...
What happened to my underscores?
Frisbee® -
15 Dec 2005 8:03 PM - 4 messages
Either I'm losing my mind or that long overdue vacation needs to be moved up... Is there some kind of setting in VB that I've somehow accidentally hit? All of a sudden, all of my command buttons, in my entire project, have no ...
Under what circumstances is the Err object reset?
Frank Rizzo -
15 Dec 2005 6:23 PM - 4 messages
I am loosing the contents of the Err object as I catch (and rethrow) these exceptions going up the function chain. Somewhere along the line the data in the Err object is lost and the custom error number is ...
Report Designer for VB6
The Merg -
15 Dec 2005 6:20 PM - 13 messages
I am looking for a good/decent report designer that interfaces well with VB6. I am not too happy with the DataReport that is built into VB6 as it's a pain to configure. I currently use the reports with DAO to connect to an ...
OT: Thursday Thilly
Frisbee® -
15 Dec 2005 5:59 PM - 4 messages
Pardon the cross-post, I'd usually just post this in MCSE (for my buds) but I thought other programmers (VBGD) might find this (slightly) amusing as well. COMPLETELY off-topic, but I made me laugh. I'm fixing to create a new form (module) in our accounting application to ...
Cocreateinstance failed
MadeleineP -
15 Dec 2005 5:16 PM - 2 messages
Dear All, I already create the ActiveX DLL and try to call it in my Visual C. My problem is the calling function does not work in some of my computers. I will write out some steps that I did: ...
MScomm, jpeg data,
Boki -
15 Dec 2005 4:57 PM - 4 messages
Hi All, I have to say sorry, the byte direct 2 pictureBox works very nice! Now, I am meeting another problem, I got data from Serial port, and it seems ...
Simple way to count all elements in an array?
Venkat -
15 Dec 2005 4:40 PM - 3 messages
This is a real silly newbie question. I get a string (VB6 module in excel) steps = Split(Worksheets(1).Cells(pcur_rowIndex, pcur_colIndex).Value, ";") There seems to be no inbuilt function in VB for excel that will allow me to count the total elements in the array. Maybe i will have to count the number ...
AppActivate
Vince -
15 Dec 2005 4:40 PM - 5 messages
I am using VB6 to transfer a recordset from my database into an excel file. The data is transfered and saved sucessfully. However, before closing excel, I would like to view the excel sheet. I performed a similar operation in a function (in a module) which used a ...
Sharing modules across different worksheets
Venkat -
15 Dec 2005 3:41 PM - 2 messages
Hello! Sorry if this is a silly question. I am using Excel 2000 and writing some basic modules in VB 6.3. There would be different worksheets which would use the same modules and where each worksheet would be targetted using the sheet names and the filenames. ...
(Basic) Create binary file problem.
Boki -
15 Dec 2005 8:50 AM - 7 messages
Hi All, When I put my jpg byte array to picturebox by the method in last thread, I can see the picture was change, but nothing shown. ( no pictures, and the original picture will be removed ) ...
CreateMutex in VB?!
Greg -
15 Dec 2005 7:50 AM - 3 messages
Hi I have 2 applications in vb: Com activex exe And test aplication which use com activex exe. I would like to protect one funcion (public in com activex exe)- can be used only once in the same time. This function is used via com activex exe (timer) and via test ...
Question on $ and &
tk_chuah -
15 Dec 2005 6:36 AM - 4 messages
Hi.. I come across some sample program and I am a bit puzzled with the way the variable and is declared and use Variable Declaration ============= What does this mean ? dim res& Function Use ======== For example the str function, what is the difference between the 2 below ...
Add Current Date into Text Box with Additional Text and File Extension
troy.litwiler -
15 Dec 2005 1:41 AM - 3 messages
I have a VB program that extracts data from a pre-named file, inputted via a text box. I'm trying to save the user some time/headaches by pre-filling the text box with the filename - which is formatted as ...
subroutine help: was Visual Basic Library Calls
jholsenback -
15 Dec 2005 1:31 AM - 5 messages
I posted before and after thinking perhaps I could have done a better job explaining my problem I thought posting the code seq I'm having trouble with might be a better approach .... Sub GetQTVersion() Dim qt As QTOLibrary.QTQuickTime ...
Can I use 460800 for MScomm ?
Boki -
15 Dec 2005 1:23 AM - 7 messages
Hi All, 9600, // 1200,2400,4800,9600,14400,19200,38400,56000,57600,115200 It seems that no 460800 baudrate at MScomm; Can MScomm run at 460800 baudrate correctly? ...
Application for Terminal Server
Insy -
14 Dec 2005 10:42 PM - 5 messages
is there special consideration or is it any different or how should i properly design application for Terminal Server, any links would be helpfull too thank you ...
date field as sql table key
briang -
14 Dec 2005 10:33 PM - 5 messages
Using VBscript. If I need to go to another newgroup please point me to it. I need a sql table key much like a sequental key (that I can read when I display the table). I would like to use a date field with the format ...
NonClient question
Kevin Provance -
14 Dec 2005 10:11 PM - 14 messages
As progress on my Titlebar OCX development continues...I am wondering if there is way or an API that lets me set any given RECT coordinates as a nonclient area. Basically, I am looking to make the area my control sits on ...
variable in string...
ivan -
14 Dec 2005 6:08 PM - 3 messages
hi... i'm a super newbie in this... but i'd really appreciate it if anyone could help me here... i'm trying to write a simple macro for excel, which goes something like this... for help = 10 to 50 ...
Re: Looking for Visual Basic 6.0 Professional
bohning -
14 Dec 2005 5:39 PM - 2 messages
JR wrote: You can find Microsoft Visual Basic 6.0 Professional for $49.95 at
[url][link]] This is downloadable software, so you'll need a fast connection. You
won't be eligible for updates or tech support, but the product does not
require activation or validation. After download you can burn it to
CD's if you want. ...
You found Visual Basic 6.0 Pro for $49.95
bohning -
14 Dec 2005 5:30 PM - 10 messages
I bought Microsoft Visual Basic 6.0 Professional for $49.95 at [url][link]] This is downloadable software, and it will work on your computer (there
is no activation like WinXP), but you won't be eligible for updates or
tech support. ...
If.....Else?
Arpan -
14 Dec 2005 4:47 PM - 6 messages
I have a WebBrowser control & a hidden ListBox. When the Form loads, the ListBox gets populated with those sites which the user has categorized as Restricted Sites (the ListBox actually gets populated with the different URLs from a text file). ...
visual basic 6 newbie help please
solway -
14 Dec 2005 4:34 PM - 2 messages
hi all. I've just started learning VB6 and have come across a few problems I've
can't seem to solve/work out :(. i have a 3 questions: 1: can you add pictures into one exe without having a dir with them in?
for example, if i was making a timer, and each number was a picture. so
you don't have a directory. its integrated into the .exe. ...
Test Existence of .hlp File Topic IDs perhaps with a WinHelp API Command
Larry Rebich -
14 Dec 2005 4:19 PM - 3 messages
I would like to write some VB6 code that will test the existence of a topic ID in a help file. My commercial software application contains a series of topic IDs which should match the IDs in a help file. I'm relying on a ...
Dear Rick, Ken, and other super-gurus, regional date settings revisited
Frisbee® -
14 Dec 2005 3:05 PM - 8 messages
I've got a rather unusual situation with my code. I've googled changing regional date settings and noticed a few threads in which Rick and Ken responded along with others. I totally agree that changing the regional ...
Dir$ - differentiate folder and zip files
Simon Woods -
14 Dec 2005 2:19 PM - 3 messages
Hi I've a little app which invokes l_sFolder = Dir$(m_sPath, vbDirectory) I'm finding that it is returning, certainly on XP, zip files as well as folders. 1) Can I exclude zip files in someway ...
How to update a label (toolbox) value via radio button in a MSWord doc
azzo1 -
14 Dec 2005 1:44 PM - 2 messages
Hello there, I want to update the value (caption) of a label box acting on a series of radio buttons interted in a Word document. I've used the following procedure: Private Sub OptionButton4_Click() Label1.Caption = "blahblahblah" .... but it seems it doesn't work. ...
How to detect if an ActiveX is registered ?
Guy DETIENNE -
14 Dec 2005 12:11 PM - 4 messages
Hi everybody ! The question is in the subject ;O) "How to detect if an ActiveX component (not a DLL) is registered on a local machine ?" I sought the solution with Google, but any result. Does anybody have an idea ? Thanks. ...
Case Determination
JustLearning -
14 Dec 2005 11:51 AM - 23 messages
Does anyone know a simple subroutine to determine if a word is Uppercase, Lowercase or Propercase? ...
How to assign array to a PictureBox ?
Boki -
14 Dec 2005 7:41 AM - 9 messages
Hi All, I have a raw data arry ( byte ), now I want to assign it to a PictureBox, and then I can control it by bitblt / stretch.. etc. Could you please advice how to assign it to PictureBox? ...
How to declare a pubic integer in module?
Boki -
14 Dec 2005 3:46 AM - 11 messages
Hi All, I try this line in module: pubic totalbyte as Integer but it can't pass compliler.... could you please advice ? Thank you very much! Best regards, Boki. ...
Calling Function From Another Module
tk_chuah -
14 Dec 2005 2:54 AM - 5 messages
Hello there ! I need some help as I am newbie in VB I would like to call a function in another module from a module. i.e I set the file mdltest.bas (from project project1.vbp) as the startup file for my ...
Err.Raise dilemma
Frank Rizzo -
14 Dec 2005 2:10 AM - 2 messages
I have a curious problem. In the app, if an error occurs, the application calls Err.Raise ErrorNumber, ErrDescription,... method, which hits an error handler in the function, which logs the error and then calls Err.Raise , which is in turn caught in the caller function, ...
How to merge two array without for loop assigment
Boki -
14 Dec 2005 2:06 AM - 12 messages
Hi All, I want to merge (collect) the MScomm control's input data. Buffer = mscomm1.input but the next time I assign it again, the prevous data will be clear ( ...
IDE & EXE Not Matching?
Arpan -
14 Dec 2005 1:55 AM - 5 messages
I have a VB6 Form which opens for 2 seconds just before the actual application launches. The start-up Form has only a Timer control, named tmrIntro, & nothing else. The Picture property of this Form is assigned an image (note that there aren't any PictureBox or Image controls in ...
Buffer = MSComm1.Input ( Buffer will be ReDim, right? )
Boki -
14 Dec 2005 1:22 AM - 3 messages
Hi All, If I assign: --------------------------------- Dim buffer() as byte .... Buffer = MSComm1.Input --------------------------------- Whatever the original Buffer is, it will be ReDim by MSComm1.Input, right? Thank you very much! Best regards, ...
Visual Basic Library Calls
jholsenback -
14 Dec 2005 1:16 AM - 3 messages
I'm trying to write a few quicktime scripts. I'm having trouble getting to all the routines that I think I should be. I drill to the call I want with the object explorer then when I use the fully qualified name it dosent find ...
Get Web Page Size?
Arpan -
14 Dec 2005 1:09 AM - 8 messages
I had asked a similar question a few days back but after having got no response, I am asking it again. Sorry for multi-posting but I guess one can very well gauge how desperate I am to get a concrete solution for ...
MSComm1_OnComm()'s comEvReceive first or Buffer = MSComm1.Input
Boki -
14 Dec 2005 1:07 AM - 8 messages
Hi All, I have a MSComm1_OnComm() event that processing input data. If I still assign <Buffer = MSComm1.Input> in some other routine.. Which routine will be processed first or only ? ...
How do you save data from an unbound datagridview in VB?
JeffGoneMad -
14 Dec 2005 12:11 AM - 2 messages
Hi, I'm kind of a newbie to VB, so I hope this doesn't seem too trivial. I have a problem with the DataGridView control. I can find all kinds of stuff about populating data in a DataGridView control, but I haven't ...
script to create uniform odbc dsn
Ben -
13 Dec 2005 10:05 PM - 5 messages
Hi all, I need to set up a list of odbc connections to a back end database server for a group of colleagues. I would like to write a short script where they can run it themselves and set them up. Can you share some thoughts and code? ...
Re: Force and Event Handler
Michael D. Ober -
13 Dec 2005 9:23 PM - 5 messages
Sorry - wrong group - this is a VB 2005 issue. Mike. ...
Force and Event Handler
Michael D. Ober -
13 Dec 2005 9:23 PM - 3 messages
Is there anyway to raise an event from a class and require that any program using that class (not just inheritance) have an event handler for specific events in the class? In my case, some events don't need to be handled, but ...
VB Passing a literal String Woes
bobdydd -
13 Dec 2005 9:13 PM - 5 messages
Hi Guys Difficult to explain but here goes. I have a form called frmPercent with a text box called txtPickup (frmPercent.txtPickup) This form has been opened by a doubleclick on ANOTHER form eg: frmSetup.txtCustomerDefaultDiscount And this has put the literal name of the OTHER form's text Box INTO ...
Anybody doing freelancing in VB ? Need pointer !
Richard Jalbert -
13 Dec 2005 8:57 PM - 34 messages
I'll be pensionned soon and I already find time heavy on my hands. Even though I am financially independant, some extra moolah is always nice and besides, I _love_ programming in VB. Putting the two together came naturally in my mind but before I take the jump and sign up with ...
Invalid Picture
C Holmes -
13 Dec 2005 4:46 PM - 8 messages
I have an icon file (.ico) which someone made for me. When I select the file to assign it to the Icon property of a form, I get the error "Invalid Picture". Any ideas? Tks. ...
User Control question
Kevin Provance -
13 Dec 2005 4:32 PM - 6 messages
[Cross posted to vb.controls, vb.general.discussion] I've read some articles on how to subclass a user control, but was not able to find any hints on what I would really like to do, and was wondering if I ...
retry mapping a network resource.
Rob -
13 Dec 2005 2:03 PM - 14 messages
I have this small code that maps IPC$ for me. Set objNetwork = CreateObject("WScript.Network") objNetwork.MapNetworkDrive "", "\\myserver\ipc$",, "domainhere\johnsmith", "passwordhere" Problem is, sometimes the LAN is too slow and the command fails to connect IPC$. Does anybody know how to program it to "re-try" a few times then maybe just ...
What is OOP's purpose, code reuse, bug minimisation, or what?
MM -
13 Dec 2005 1:48 PM - 19 messages
Well, what is the fundamental purpose of OOP? Has it been successful so far? Is Extreme Programming waiting in the wings to supplant it as the Next Big Thing? What future developments are expected? Could the procedural approach enjoy a resurrection? ...
Help with TerminateProcess! Please!
Lisa Forde -
13 Dec 2005 11:59 AM - 4 messages
Hi. I'm really no good at using the API stuff but i open a number of processes from my applications using ShellExecute and now I want to close them from the application. From searching I have come across TerminateProcess but I'm really not sure ...
Remote drives
Howard Kaikow -
13 Dec 2005 10:43 AM - 4 messages
Is it true that all logical drives are merely mappings to the root of the drive? For example, I can use the GetFreeDisklSpace API to return SectorsPerCluster, BytesPerSector, FreeClusters, and TotalClusters for both local and remote logical drives. Can a program access the sectors on a remote drive? ...
SourceSafe
Newbie -
13 Dec 2005 10:43 AM - 3 messages
I apologize for this Dumb question. But can some expolain in simple terms what sourcesafe is, what version goes with VB6 and is it still available for purchase ...
How do I output "quotes"
Dave -
13 Dec 2005 9:56 AM - 37 messages
Apologies if this is a stupid question but I am not a programmer :o), and am guessing this is probably very basic, but how do I output a quote mark (") when writing to a file? I am trying to read in a fixed length data file and reformat it ouputting ...
Excel.exe remains in memory.
Andy -
13 Dec 2005 9:46 AM - 24 messages
Hi, This issue seems to be quite old but I have not yet found a clear solution to the problem: I have written a simple VB6 (SP5) application that opens and closes an Excel (2002 SP3) file. After the application has finished, Excel.exe remains in memory (as ...
Picture Box/Image control does not support .TIF
Amit Mohod -
13 Dec 2005 9:43 AM - 2 messages
Hi all, My client want me to show preview of a picture file which is in ".tif" format. Both Picture Bos & Image Control doesnot support this format. (or I might be missing some thing). Any other control which can be used? or any ...
what's this popup, can not open file
GATMAN -
13 Dec 2005 8:51 AM - 3 messages
i'm trying to use what's this help in my vb6 app, when i use the what's this icon on a control, i get an error can not open the chm file and shows the path string , ...
MScomm control send problem.
Boki -
13 Dec 2005 7:13 AM - 5 messages
Hi All, These code can't work. Could you please advice ? Why can't I send a single byte by: ''''''''''''''''''''''''''''''''''''''''' dim a as byte a=10 mscomm1.output = a ...
VB shift operator >>
Boki -
13 Dec 2005 6:30 AM - 17 messages
Hi All, Could you please advice the shift operator in VB6. like: int data = 2; int result=0; result = data >> 8; Thank you very much! Best regards, ...
Code syntax and array issue
Dave Mills -
13 Dec 2005 6:27 AM - 3 messages
The following little snipit is from The MS exchange site. I have 2 questions. 1) what is the significance of the () around (Desc) in the debug.print statement. 2) When there are 2 or more values are returned by objUser.Get the For ...
Call byRef problem.
Boki -
13 Dec 2005 6:06 AM - 3 messages
Hi Aii, ===================== <Module.bas> Const A As Byte = &H8 Const B As Byte = &HA ===================== ===================================== Private Sub Boki_Walk (X As Byte, Y As Byte, Z As Integer) End Sub ==================================== Code: Call Boki (1 , A, 2) ...
Can VB6 be used for truly modular application development?
Joseph Geretz -
13 Dec 2005 4:53 AM - 19 messages
I'm incredibly disappointed in the inability of VB6 to support truly modular application development. At all levels *up until the application UI* I have been very successfuly in modularizing and compartmentalizing code into various application artifacts (i.e. DLL's and OCX's). But when I get to the ...
What are the differences between Picture control and Image control
Andrew -
13 Dec 2005 3:32 AM - 3 messages
Hello, friend, When I assign a StdPicture to a Picture box or an Image box, both work fine. So, I just wonder what are the differences between these two controls? Any ideas, reference papers? Thanks a lot. ...
vb6's #define Boki 001
Boki -
13 Dec 2005 3:00 AM - 3 messages
Hi All, I want to convert a code from c as below to VB6, could you please advice ? #define Boki 0x01 Best regards, Boki. ...
How to know an array length ...
Boki -
13 Dec 2005 1:03 AM - 5 messages
Hi All, We can use len(String) to get the length of string. But, how to know the length of array ? Thank you very much! Best regards, Boki. ...
Draw a line on Picture box
refaul -
13 Dec 2005 12:23 AM - 3 messages
I have the following code for drawing a line on form......can any one
help me for drawing a line on picture box using the same following
code.for information I faced the problem because Picture box has no
Load options.... ...
Report
abs81 -
12 Dec 2005 10:30 PM - 11 messages
hi all, i have a vb application in which i use crystal report. in one of the reports i need to retrieve a field from the databse which is of the type Date/Time(MS-Access). I am writing the following code but it gives me an error that it should be a ...
WinIO I/O Issues with WinXP Machine
Mike -
12 Dec 2005 9:11 PM - 3 messages
Hello, I am using WinIO from [link] and it seems to be working OK except for one thing. It only runs from an administrator account. I followed the instructions for using under a non-administrator account ...
Time Repair???
HotRod -
12 Dec 2005 9:06 PM - 18 messages
Has anyone ever created or seen some VB code to help repair time. I have a list of 60'000 times that I need to check to make sure they are valid and then reapir them. In general all of the problems are input related. Here are ...
SFTP
kpg -
12 Dec 2005 8:43 PM - 4 messages
I use the wininet API to FTP files. InternetOpen InternetConnect FtpGetFile I now need to connet and upload a files to a secure FTP server. It is described as a SFTP/SSH server. I guess that means FTP over SSH. ...
VB6 connecting to Access2002 - unknown format error
Dennis -
12 Dec 2005 7:52 PM - 7 messages
I'm new to VB, but know a good deal about VBA. I've inherited a VB project that attaches to an Access 97 database. I converted the database to Access2002 (our current standatd), but now when I attempt to change the ...
Multiple EXE instance running
Emma -
12 Dec 2005 6:37 PM - 6 messages
When I run my VB application in production, exit and try to run the application again, the App.PrevInstance indicates that an instance is already running. I do not get this in development mode. How can I make sure ...
Checking an Array
Peter Newman -
12 Dec 2005 6:11 PM - 12 messages
im passing an array in a function but need to check if the array contains any data to stop a subscript out of range error ... any ideas how to test it ? ...
MScomm needs out.flush() or chr$(13) ?
Boki -
12 Dec 2005 12:11 PM - 3 messages
Hi All, I am using MScomm control, I meet a bug in my program.. I can't sure where is the problem is yet, Here are my questions: Do I must send chr$(13) as a flush() indicator for MScomm ? ...
Why the converted value is always 0,when the sMessage is 0xC0 ?
Boki -
12 Dec 2005 12:01 PM - 5 messages
Hi All, For x = 1 To Len(sMessage) Text2.Text = Text2.Text + Str(Asc(Mid$(sMessage, x, 1))) + " " Next ...
Migrate from Dreamweaver into VS.NET 2005
Armando -
12 Dec 2005 9:14 AM - 4 messages
Hi, I'would like to start using all my solutions developed in Dreamweaver 8 in VS.NET 2005. Is there some cookbook how-to migrate simple asp.net app from dreamweaver into vs.net2005? Thanks in advance, H,. ...
Mscomm , How to receive HEX data ?
bokiteam -
12 Dec 2005 8:58 AM - 8 messages
Hi All, I am using the code as below to receive com port data but in ASCII string format. ------------------------------------------------------------------------------------------------------- sMessage = StrConv(MSComm1.Input, vbUnicode) & MSComm1.Input ------------------------------------------------------------------------------------------------------- I want to collect them in a byte array, how can I do ? ...
Copying folder with criteria
Enric -
12 Dec 2005 8:51 AM - 2 messages
Dear fellows, I've got a silly problem with VbScript. I am pursuing for a script which give me the chance of the select a set of files based in a criteria. For example the following line is fine by me: ...
Basic data type problems.
bokiteam -
12 Dec 2005 7:41 AM - 3 messages
Hi All, Some basic data type problem about VB6. 1. Any type that is 16 bit ( 2 byte) format ? byte -> 8 bit int -> 32 bit It seems no 2 byte, right? so I have to use Integer, and then mask it. ...
Why Public member can't be constant/array/...
bokiteam -
12 Dec 2005 7:17 AM - 22 messages
Hi All, I am using "Public Boki(0 To 100) As Byte" in the header of file. but, it didn't pass the compiler. When I use "Private Boki(0 To 100) As Byte" It works. Why? Best regards, Boki. ...
Using Hash algorithms like SHA-1 for one way password encryption i
ourspt -
12 Dec 2005 6:28 AM - 2 messages
Hi, I am working on a VB project and to store the passwords in the database (SQL Server), the client wants us to use hash algorithms like SHA-1 to perform a one way encryption of the password and save only the hash value in the database. ...
Dim a byte array.
Boki -
12 Dec 2005 2:53 AM - 28 messages
Hi All, Could you please advice how to convert this code to VB6? Thank you very much! private final short[] Reg ={ 0x01, 0x02, 0x03, 0x04 }; Best regards, ...
VB6's File, Make option is not available
Larry B -
12 Dec 2005 1:38 AM - 3 messages
All of a sudden, I was not able to compile a project to the exe. Every one of my proected I try to load has the File, Make option "grayed" out. Any suggestions on this problem. Thanks in advance, ...
|
|||||||||||||||||||||||