o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

how to detect chr(13) in string -

hi!

how to detect chr(13) in string?

I have proven it using chr(13) but it does not detect it. When I debbug app, it shows me small squares instead of separate lines (chr(13)).


¿some suggestion?


regards.

anna7

 

how to detect chr(13) in string -
hi! how to detect chr(13) in string? I have proven it using chr(13) but it does not detect it. When I debbug app, it shows me small squares instead of separate lines (chr(13)). ¿some suggestion? regards. anna7


Detecting Hardware -
How do I Detect the following hardware: -Detect CD-ROM -Detect ZIP Drive -Detect JAZ -Detect Sparq -Detect Floppy -Detect DVD ------------------ Thanks, In Christ, Ben


Detect a string formatting -
Hi, i have been using the InStr function to detect strings within strings... if instr(1, "Call", Line) then... but i have a string it needs to detect, but i need to detect it by the formatting of it, as every letter in the string will be different meaning i cannot use t


Can't detect PIPE symbol "|"... advice please! -
I am getting a string returned that looks something like this: "this is going to end.|||||||||||||||||||||||" It is the last part of a richtextbox. I am unable to detect these symbols using CHR$(13) or CHR$(10) and they do not detect when I search for the ASCII char


Detect Registry String -
I am using GETSETTING and SAVESETTING and i need to know if there is a way to detect if a string exists.. if getsetting (blah) then doesn't work


Javascript: Detect Country -
How do sites like, say, www.Altavista.com detect the browser country. Do they just use the user agent string? All I actually want to do is detect if the browser is in North America or not. Any ideas? benski


Detect carriage return -
I start this topic as a new thread, in a multiline textbox, is there a way to detect carriage return? or when reading a line from txt file, how to detect whether cr exists in that line of string?


How to detect a two digit number within a string -
I would like to know how to detect a two digit number within a string. For example: Hello, my name is John and I am 42 years old. I have 5 kids. I am very cool. How can I pull the number 42 from that string?


Detect Various Windows States -
Are there methods to detect: a. When Windows is going into standby state? b. When Windows 2000 has the keyboard locked by Ctr-Alt-Del. I already know how to detect when the screen saver is on. Basically, I would like a comprehensive solution to detect when the computer is u


Quick CHR$ question -
To detect an enter key in a string I use CHR$(13) What do I use to detect a linefeed?? I know this is simple, but I am having trouble finding it in my MSDN library. MyBrain = vbNull 'It's Friday.. what do you expect! thanks!!


Key Detection -
I need to detect different keystrokes that the user enters in my program. Originally I tried using the _keydown event, but I need to be able to detect more than one key at a time, or detect when there is more than one key down. I will also need to know when certain keys are released.


Detect Alpha Character in String -
How do I detect if an Alpha character exists in a string that is suppose to be just numeric?


Detect pop up blocker -
Does anyone know if there is a way to detect if pop up blockers are installed ? My Intranet ASP.Net applications always start with a pop up to remove navigation buttons from Explorer and I need to be able to detect if they are enabled so I can inform the user.


How to get PID of all processes -
How do I get the PID of all processes plus the amount of memory each process uses? source code would help Anything else to detect packetloggers? Such as a string to detect if a packetlogger prog analyzes traffic by going into promiscuous mode?


How to Detect -
Is there code for 'detecting' something? I need my program to detect that the computer is being shutdown, or is shutting down, so that it can automatically abort the shutdown. How do I make it detect, and automatically do something when it does detect?


Search String " ' " -
hi how can i detect my string that contain " ' " well i have tried If InStr(1, rstRecord![MyAddress], " ' ") > 1 Then MsgBox "123" i cant detect my this. what can function can i use? thanks very much for helping


Check is app on XP -
What is the easiest way for my program to detect to detect if it running on XP? I use the environ function to detect the path to the windows directory but on XP there is no winnt folder. What is a reliable way to check this... thanks


detect xp theme -
How can i detect the current 1 of the 3 standard xp themes on a users machine? I realize that a user could be using a custom theme. I just want to detect if 1 of 3 are being used and which one


Detect simultaneos connections to my app -
Hi all, i have trying to write a function/sub to detect simultaneous connections (instances) of one .exe file in a folder in a server. my question is: there are a way to automatically detect this (like an API) or i need to make manually? Please answer me, i need this so much!


keyboard vs joystick: how to detect 1 by 1 -
i want to detect 2 devices, keyboard n the joystick. i just want to make sure that when the key pressed on the keyboard ( i use keydown_event ), the program won't detect the joystick; n the joystick moved ( joystick_move event ), temporary won't detect the keyboard. which command


How to detect browser (IE) shutdown -
Is it possible and how to detect the Internet explorer shutdown.... Like if several windows are open and how to detect if all have been closed ???


How to detect if out look is Running -
Is there a way I can detect if outlook is running on the machine I am running the function from? Also, if there is a way to detect outlooks presence, is there a way to also tell if a specific macro has been activated? Thanks in advance.


How can I detect when a Word document has finished loading -
Hi, Is it possible to detect in the normal.dot when a Word document has finished loading? AutoOpen() and AutoExec() detect when a document is being opened or executed, but is there a way to detect when it has finished being loaded? Any help much appreciated Thanks


detect location -
Hi, I want to detect the location of the program that I run /compile vb.net for example: C:\test\bin because I want to store files there. Let say the lcoation is unknown. Is it possible to detect the location ? Thanks, NewBie


String stuff : -
Hi! I have this RTB, where i detect if certain strings are present, i detectt this via InStr, if the string is found, i want to do an action, this has worked fine until now. Now i need to have the entire line on which the string is, is there anyway to know what line the string is on


[2005] Detect Key Pressed, Output different value -
i want to create a program to detect a keypress outside of the program, and then send a different key EX. if i were in IE and i typed www, the program would detect that and instead of w's it would be hhh


Detect Form Control Changes -
Can anyone help me? I am looking for a way to detect when a control has been changed from its initial value, also for it to detect if it is changed back again to that original value. This is to be used to set the enabled property of my Apply Button? Any help greatly appreciated.


How to detect installed components -
Hi everybody ; I was wondering if there is a method to detect if a DLL or OCX is already exist & registered , also in VB6 how can I detect that the .Net framework is installed & what version (I hope that this is not the wrong forum to ask about that).


Get some musical bluetooth usefulness... -
I have a moto v710 cell fone. Yes i know, crippled bluetooth, but thats not the point. My computer can still detect the fone, so i need vb code, or ocx, to detect the bluetooth fone. I dont need it to do anything through the fone, just detect that it is in range. When it is out of rang


How to detect the size of an array -
Hi, I used For Each to detect array with single dimension. For dual dimensional array, I relied on Error Trapping, Subscript Out of Range. Any better solution? sub Main() On Error goto ErrHandler: dim aaa() as string dim j as integer aaa()=Test() j=0 while aaa(j,0) <&g


detect DB connection -
I have some code where I am connecting to a SQL-7 DB. I want to be able to detect the open connection & pass the user into the site. Whats the correct syntax for this? objConnection.Open() > detect connection here< Thanks, ~Piz


Detecting MouseUp on another apps form -
Hi, I am trying to find out how I can detect the mouseup on a form that belongs to another application. I can detect the left key via GetAsyncKeyState but haven't come across any code to detect the mouseup. Any ideas? Thanks, Rob


How to detect if a file is in use -
Hi! I'm new in VB and maybe this is a silly question but I have to know if a file is in use before do something to it A friend told me about moving the file using FSO and if it generates an error then the file is in use, it is a good option but FSO does not detect the file was in use


How to detect certain text characters -
I get a returned string that looks like this: "is going to work.||||||||||||||||||||||||||||||||||||||||||||" What are the | sysmbols? When using CHR$, what number do I use to detect it?? I thought they were either CHR$(13) or CHR$(10), but when executing my code,


Detect System Shutdown -
Hi, Is there a way to detect if the computer is attempting to shut the system down, log off or restart? I have some API's but I don't know how to use them really... What I need to do, is for my program to detect if an application is trying to shutdown, log off or restart and c


How to detect windows activity of another application -
Is there a way for my application (in VB) to detect a mouse click on another application. Or detect a dialogue box opening in another application? I am trying to write a program that could monitor the activaties of another program (written in VC). for testing purpose.


Detect Internet Connection in Win2K! -
Hi pals! How can I detect an Internet Connection in Win2K! Firstly I use a modem or ISDN Adapter, which should be easier than the LAN way! So how can I detect wether my PC is online and than start a logging Prog that I wrote?? Neon


Find all windows running of a certain class*resolved* -
Basically i need to detect if another instance of the program is running. App.previnstance is not reliable enough..ie they could rename it , run it from another location etc. So instead im going to detect all apps running with that class type. How can u detect all the instances of t


Detect New Drive -
I can't wrap my head around how to do this. I have an external hard drive. I want my service to detect when I plug it in. It's usually the same drive letter but may not always be. Is there an easy way to detect that a new drive has shown up in My Computer, filesystemwatcher st


Detect Network Computers Accessible -
Hey, does anybody know the API calls to detect computers that is capable of copying files to? I want it to be able to copy a file to a network without me specifying the machine..to detect & copy by itself. Thanks.