How To Disable Basic Functionality Of Back Space & Delete Key In Visual Basic
can any one tell how to disable back space & delete keys in perticular
thanks & regards,
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Fwd: How To Disable Basic Functionality Of Back Space & Delete Key In Visual Basic
<P><BR><BR><!-- END YOUR MAIL MESSAGE BEFORE THIS LINE--><BR></P></DIV>
<P><A href="http://www.flamingtext.com/hmail.html" target=_top><IMG alt="Image by FlamingText.com" src="http://hmail.flamingtext.com/hmail/2003/07/02/ flamingtext_com_1057144048_20660.gif" border=0></A> <BR><BR>
<DIV>Try to use API's i am sure u will get ur problem</DIV></P>>Hi all
<DIV></DIV>> can any one tell how to disable back space & delete keys in perticular
<DIV></DIV>>thanks & regards,
<DIV></DIV>>*Manage Subscriptions: http://My.ITtoolbox.com
<DIV></DIV>>*Leave Group: mailto:email@example.com
<DIV></DIV>>*Questions: mailto: email@removed
<DIV></DIV>>*Copyright (c) ITtoolbox and message author. No redistribution.
<DIV></DIV></div><br clear=all><hr>Add photos to your messages with <a href="http://g.msn.com/8HMTEN/2749??PS=">MSN 8. </a> Get 2 months FREE*.</html>
Visual Basic Functionality Vs C++
Ok, here is my dilemma...
I am currently learning Java, and I have gotten into GUI programming and small scale, graphical games. I find all of the programming extremely easy, due to the Swing packages, and partially due to the fact that before learning Java I had tried to learn windows API programming (I found it incredibly confusing and didnt spend too long on it, it wasnt worth it at the time). Now, I like Java and all, but I have decided that I need to learn a programming language that is not an interpreted language, so that way it can run on any and all windows machines. This is where my decision comes into play: should I concentrate on learning Visual Basic or Windows API? I am leaning towards Visual Basic since it seems alot easier than windows API, and I already have some experience with it, however, I was hoping someone here could answer a question for me:
Functionally, what are the differences between Visual Basic and Windows API? Im guessing that WAPI would be more versatile and powerful, infact Im sure it is, but I just dont know how much more powerful it would be. I dont know if the power difference makes up for having to learn a much more complicated language.
I plan on using the language to develope client/server winsock applications, encryption tools, and work a bit with databases.
Hopefully some of you VB gurus can offer me some insight here.
Thanks in advance
Going Back Go Visual Basic (from VBA)
Okay, we have a program that was written in VB. Everyone runs the program from their computer. At first, the program was installed on everyone's computer manually, so most of us can run it just fine. We now have someone trying to run the program from a computer that's never had that program installed on it.
Therefore, I will attempt to e-mail her the files that she'll need (such as comdlg32.ocx and talk her through registering them). She is in Mexico, so I can't go over there and just plop a disk into her machine (I'm in Michigan).
Can anyone tell me what other files I'll need to send? I used to have a link to an MSN site that had the list, but it doesn't work anymore.
Also, we're both running XP, so what are the dangers of using this method, if any?
Visual Basic Working Space Problems
This isn't usually what people post on the forum, but I want to know if there's any way to save your settings for all your applications so that when you open it up, it will have how you last had it. Example: I put in a bunch of controls I wanted to have in the toolbox in every application I work on, however, when I exit and go back in, it isn't that way any more. But when I save my application, it will bring them up....when I open that application because of the inividualized .vbw (visual basic workspace) file made for every separate file. The only thing that I really need to know is how to 'save' tools in the toolbox so that every app I want to use extra controls in (such as the common dialog box control) will show up in the toolbox every time I open up VB. I am using VB6. I don't even know if it's possible, but if it is, please let me know. Thanks!
Now, don't get me wrong, 'cause baseball's a great sport.
It teaches little children simple eye-hand coordination with little effort or exhaustion.
Out Of Stack Space Using Visual Basic 6.0 Run Time Error 28
let me know please when i am using MSHFlexGrid in Grid i m put a text box when i put some text in textbox and save in Grid when lostFocus a message occur "out of stack space" when i try to invisible textbox
please slove my problem it would highly appriciated
thanx in advance
Strange Problems With My Visual Basic. Answer Back Please
Whenever I run VB5, sometimes I all of the icons in Windows become mixed up. For example.
all zip files have the desktop icon
all txt files have the IE icon
If anyone experience these anomalies please reply back and explain what might be happening and if it will make all my compiled .exe's do to other user's computers. Thank you for taking your time to read this.
Visual Basic - Disable Paste
Please I want to disable the right click and paste inside a text field
also the Ctrl + V on the keyboard. Any one can help me?
Delete Field Name Using Visual Basic
It is possible to delete the all field name in the table store in microsoft database *.mdb except one field name "Plot"?
I have 4 field names in the table "Owner". The field names are "Plot", "X","Y" and "Z". I want to delete X,Y,Z and only left field name "Plot".
How I can do that using Visual basic?
Delete Cookies With Visual Basic
What I want is design a program that deletes cookies every so often. Now cookies can not be deleted with a dos line suchas Del C:Windowscookies*.* so what can I use?
I was thinking of maybe somehow selecting all then delete then empty recycle bin, but that seems like a sloppy way of doing it. Anyone have an idea?
Visual Basic 6, Delete File That Is Currently In Use By Another Application
hi, i m italian, i have a problem with vb6. i would like to delete a file but it is in use by another process. When i try to delete it occour a runtime error, the 70! i can't find any information in this or in the other forum about this problem. i would like to find the process who use this file and after i will can unlock or exit from it. thank for your help! best regards
Delete Outlook 200 Calendar Appointments Using Visual Basic 6.0
I am new to Visual Basic and in hope that someone can help in this project that I am working on.
I am trying to delete any future appointments that are in a Public calendar....basically anything greater than today's date.
I have Calendar item called "ProjectTest" in the Outlook Public Folders folder.
How do I reference the items in that folder only?
Also is there way for me to delete all of the appointments within a certain date range ( > today's date)?
For example, in SQL Server, I would use this query to delete all future appointments:
DELETE from AppointmentTable
WHERE StartTime > GetDate()
Is there something in VB that I can use to delete a bunch of appointments?
Any help would help me a lot.
Delete Saved Data In Visual Basic's Crystal Report
hi...i have jus redeveloped a visual basic program that uses back the same crystal reports. currrently my crystal report is able to view the data, but it keep on viewing old data that i believed was saved inside the crystal report form. how do i get rid of these data? i haf written this code
and written the specific SQL statement that was needed, yet only the old data comes out... the sql statement retrieved the required record from the database and then saved it to another table in the database. i have checked the database and the correct records were retrieved and saved... it seems taht the problem is that the crystal report cant seem to get the data from the database...and instead displays the data that was saved previously.... do anyone haf any idea how to solve tiss??? thankssssssss
Select And Delete A Picture Located On Excel Spreadsheet In Visual Basic 6
Can anyone help please...
I have a series of simple diagrams, i.e. triangle, square, circle etc.. These are separate .gif files located in a certain directory.
I have a macro which inserts one of these files, say the triangle, as a 'picture' into an excel spreadsheet.
Within the spreadsheet I can specify a new picture, say the square, and the macro will insert the appropriate file accordingly.
At present when I change from the triangle to the square, the triangle remains where it is and the square is located on top of the triangle.
Any subsequent changes are located on top of the previous picture, so I end up with several picture on top of each other.
Each time a picture is inserted into the spreadsheet, excel automatically creates a new number for it, i.e. picture 1, picture 2, picture 3, etc. and if I select and delete them manually, the next picture inserted takes the next number i.e. picture 4 and so on (currently picture 23 !)
I want my macro to be able to delete previous pictures so that after making a change, only one picture remains on the spreadsheet.
My code so far is as follows:
Sheets("Single Site Model").Select 'This is the spreadsheet
selecteddrawing = Worksheets("Single Site Model").Cells(1, 7) 'This is where I specify a new drawing (i.e. Triangle, Square, etc.)
drawingstring = selecteddrawing & ".gif"
thedrawing = "C:Documents and SettingsMy DocumentsMy Pictures" & drawingstring 'This is the path of the drawing file
Range("A7").Select 'This is where the drawing will be located
Range("a6").Select 'This is the end position for the cursor
Can you please advise me of the code required to select individual pictures and/or select all existing pictures in an excel spreadsheet, so that I can get the macro to delete them before a new picture is inserted.
Thank you in anticipation
How Can I Delete A Record From A Text File Using Embedded Visual Basic? (Urgent)
I can open a text file and put it in the list box. And I have a "Delete" button so that the user can delete an item from the listbox. First I need to remove that item from the listbox and then delete that line in the textfile. Could anybody help me to delete a record line from the text file using evb. I really appreciate your help.
Edited by - tcnguyen on 10/30/2003 7:18:37 AM
Word And Visual Basic [ How Can I Get The Save As Window Through Visual Basic? ]
Hi, I made a small program in visual basic that with the use of
Dim oWord as new word.application
Dim oDoc as new word.document
fills a document with some data from the visual basic.
I want when those data are loaded in word the save or save as window to appear.
The command oDoc.saveAs saves the document without even asking for a filename.
What Can I do?
Extracting Visual Basic Source Code From Visual Basic EXE
Well actually the problem in my case is that i had mad an EXE in VB6 around a week ago and had stored the EXE and th source code in two diferent folders. By mistake somebody ha deleted the source code folder. I wanted to make some changes i the EXE code and Now i have only the EXE folder to deal with.
Is there any method by which i can extract the Visual Basic cod from the VB EXE. Is there any application or software which ca help me in this? Do give me the hyperlink for downloading th EXE for the extraction if possible.
Please let me know at the earliest.
Thanks in advance.
Basic Question On Visual Basic (counting Rows)
i'm a novice of VBA. I'm trying to write a sub that needs to count the rows of my sheet.
I't seeems there's no way to understand automatically how many rows/columns are used in a sheet.
Can you help me, plzs?
URGENT Help Required Basic Visual Basic Code
How do I bring up records from a list box??? this is what I have so far of my programming...
Dim FileName As String
Private Sub cmdAddFileWrite_Click()
Dim Name As String
Dim Age As String
Dim DOB As String
Name = txtName.Text
DOB = txtDOB.Text
Age = txtAge.Text
Open FileName For Append As #1
Write #1, Name, DOB, Age
txtName.Text = ""
txtDOB.Text = ""
txtAge.Text = ""
Private Sub cmdDisplay_Click()
Dim DataToDisplay As String
Dim Name As String
Dim Age As String
Dim DOB As String
Open FileName For Input As #1
Do While Not EOF(1)
Input #1, Name, DOB, Age
Private Sub Form_Load()
FileName = App.Path & "AddPlayer.txt"
That is wha I have so far I mean I have a list box there where it displays the data that has been inputted, now how do I get that to link up wit a record something to do with a module?
Basic Question About Excel Macros And Visual Basic
I have a macro in Excel that takes some input on data ranges and produces charts based on the input. I want to place those charts (a number of them are generated) at a certain point in my excel worksheet. I know I can nudge it over by a certain amount but I can never tell where Excel will place them so I would like to just say "hey chart, sit here". Being able to do that in relation to cells would be great. Also, I would like to know if there is any way to resize the chart without using the percent. Once again, in realtion to cells would be great. Thanks for your help.
Basic MS-Word Functionality - Very Important
How do I implement Cut, Copy & Paste options, for a textbox, making sure that it can handle text, pictures and a combination of both as well...
I did my best to come up with a way to do it, I even tried a little on my own, and it kinda worked, but I'm still in need for your help...
Thank you very much.
Visual Basic Items Removed From Visual Basic.NET
A while ago (maybe up to a year) I had found a web page (probably a Microsoft MVP's home age) that had a list of about 100 things that were removed from Visual Basic in the transition to Visual Basic.NET. As it is, I would like to look at that again, but I can't seem to find it on my computer. Does anyone remember this page and/or have a copy of the link or the file that was on it. It has particular things like Debug.Print is no longer valid and MsgBox function is not supported. I've look on Microsoft's website and found a great deal of information about implementation difference, but I can't seem to locate this particular piece. If anyone could help I would appreciate it very much.
Thanks in Advnance
Compairing Visual Basic & Real Basic
The thing is, I don't have Visual Basic on my computer (I use a Mac). But I do think I have Real Basic.
I'm just asking how similar or different VB and RB are. More specifically, how much can I apply tutorials for VB to the RB environment?
Visual Basic Or Dark Basic?
I have just started and i find visual basic to be the route i ahve taken, but i was wondering if anyone had any opinions on dark basic?>
Some Really Basic Visual Basic Questions
...I'm stressing the really here. Reading through some of these topics, it looks like you guys are all really advanced in this program.
I, on the other hand, am a complete VB newbie who needs to hand in a stupid project for calculus class tomorrow.
Long story short, we need to create a basic job application, about five or six forms long.
I have no idea how to code the buttons that I'm using. I need to make one command button send the user to the next form, and I need to make another exit out of the project entirely.
How would I go about doing this?
Very Basic Visual Basic Problem
Hi, it's basic alright, and it's driving me mad.
I was given the disk by a friend who has moved abroad and I can't contact her.
I am very keen to learn how to use it and currently know nothing, well almost.
So I have been on a tutorial website and produced and calculator,which I am proud of though I don't yet know how to make it calculate.
Instructions on website....."If you are satisfied with the appearance, go ahead to save the project. At the same time, you should also save the file that contains your form.
so I save the project named calculator, and cannot see how to save "form"
when I check folder where it was saved there is a form file and a project file saved.
when i try to open it again to do more work a message box pops up stating that file could not be loaded - giving no reason.
The options open to me are "ok" and "help"
if I click help a message box tells me that "the MSDN collection does not exist. Please reinstall MSDN".
I have tried to do this but my computer cannot find it on the disk.
If I click on "ok" the box disappears and I am no further forward.
I am sure that I must be making a very basic mistake.
Version in use is VB6 Pro. clearly not safe in my hands.
any very simple clear advice to a complete novice would be greatly appreciated.
thankyou very much
Power Basic VS Visual Basic
Anyone here uses Power Basic?
Is it any better than Visual Basic?
Power Basic can produce EXEs with no runtime dlls.
Power Basic provides 30+ standard controls.
It is said to produce extremely fast-running EXEs.
Difference Between Visual Basic And Visual Basic.net
visual basic and visual basic.net?
i am very new to programming, and i was wondering if someone could explain the difference between visual basic and visual basic.net. i Know this may be a silly question to ask, but if i dont i will never find out.
i am designing a system for a chinese restaurant, hopefully i hope create it in Visual basic.
if anyone can help, i would be grateful.
What Are Advantages Of Visual Basic .net Over Visual Basic 6.0?
I am thinking of installing Visual Basic.net (standard version) in place of Visual Basic 6.0. I dont know what are the disadvantages of it and I am hesitating to do that. I thought that I should ask the forum before making this decisions.
Would someone help me to know the followings.
1. If I install VB.net, and if I do programming in VB.net, will I be able to run it in Visual Basic 6.0?
2. Can I do everything that I do in Visual Basic 6 in Visual Basic .net?
3. Are there things that I can do in Visual Basic . net which can not be done in Visual Basic 6.0?
4. Would you recommend Visual Basic.net in place of Visual Basic 6.0?
Thanks in advance.
[Solved]Visual Basic & Visual Basic.net
Wat is the difference between Visual Basic & Visual Basic.net?
I just dont understand.....are they 2 different programming languages? Are they related to each other?
Do they both need the Ms Visual Basic software to develop?.....
Which is more powerful & which is better for beginners?
What is there in Vb.net thats not there in VB....?
pls help me out with this...
What Is The Different Between Visual Basic And Visual Basic Access?
actually i'm going to do a database to track student attendance, where the student need to scan their student ID card.
which software is suitable for me? Visual basic or Visual basic access?
actually what is the different between these two?
can anyone explain to me?
Upgrading From Visual Basic 3 To Visual Basic 6
<P>Is it possible to upgrade a project from VB 3 to VB 6?</P></DIV>
<DIV></DIV></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http: //explorer.msn.com</a><br></html>
DLL Visual Basic 6 On EMbedded Visual Basic 3.0
Hello Friends, as I can create a DLL for embedded. or as I can have something similar to FileListBox of VB6, I want to recover the archives that are in a directory in individual.
Hola Amigos, como puedo crear una DLL para embedded.
o bien como puedo tener algo parecido a FileListBox de VB6, quiero recuperar los archivos que se encuentran en un directorio en particular.
SOLVED Basic Math Program BACK AGAIN :(
I have a program that i need to be able to figure out the tax rate, and then find out how much tax is owed to the customer.
There are a few tricks when doing this, there are many different shipping rates, that go from 3.95 to 4.95 5.95 etc.
So what I wanted to do was enter information from the invoice and have it automaticly caluclated.
Now this is the tricky part, if the customer ordered say 3 parts, i wanted to be able to find out the tax, then have another box where i could put in the price of the part(if they only returned 1 part instead of the whole order), and then have it figure out the tax on just that part.
Here is some of the data on the invoice:
Tax Amount .68
Sales Amount 4.49
Invioce Amount 9.12
So the first thing i need the to figure out is how to i figure out what percentage of tax was charged, then have that tax amount * it self by all the different shipping rates.
Then have another box where i can put in a single part price, and hit calcuate and get the tax on just that part.
Thanks for the help!
Something Basic.. Visual Basic..
havent used vb in yonks and just wanted to make something pretty simple.. wanted to try like 'post-it' notes or a program to store strings of text, in a text file or whatever and all the things you save into text files and get lost like url's and other krap..
it would be wikid if someone could send me in the right direction for how to write to a text file (yes, i have looked around the forum and cant find squat).. is writing to an .ini the same thing? anything would be real useful cause id love to try to make something..
HP Basic Vs Visual Basic
This may be a question for another board but what the heck...
I am looking for a way to move data from an old HP Basic PC to a IBM PC to be converted into VB6. Since the HP PC's do not have a NIC card, I would like to use the IEEE bus that they both have to move the data between both machines.
Thanks for the help,
BASIC And Visual Basic
I'm a newbee to Visual Basic.
I want to know if this you can still create a BASIC application.
I've tried out simple BASIC commands like:
Private Sub cmdButton_Click()
Print "Blah blah blah"
It works, but it prints "Blah blah blah" on the form. When in using BASIC, it would run on DOS and print "Blah blah blah" in Dos.
In other words, what I'm getting to is...
Can I write a DOS Program using VB? Is there like a BASIC mode in VB?