-
- Disable F1....F12 buttons in c# browser application.
by nisarg
- 5 Replies
- Last post
by ahmedilyas
- I am writting XAML web application, in which i want to capture all key events,
I am able to capture all keys, but the problem is with function Keys, from F1 to F12,
When i press such keys, it also takes action on browser, which i dont want,
Can any one help me for this problem.
Thanks in advance.
Nisarg
-
- How to create a higher and lower game using a Windows Application?
by Timbuctoo
- 9 Replies
- Last post
by Timbuctoo
- Dear Forum Users,
I would like some assistance with my programming assignment, which is to design a higher and lower game. Below I have incorporated the set of instructions that were handed to me in class to design the application. I am only a beginner using Visual Basic 2005.
VB programming
Task Sheet 1
¡°Higher/Lower¡± game.
Create a new VB windows application
-
- Why To Not Use Threading.Sleep in Your Application
by ReneeC
- 14 Replies
- Last post
by Andreas Johansson
- First of all, I hope that everyone who is interested joins in this conversation especially SJ, Carsten, Spotty, Andreas and Nobugz.
Experienced developers here often see new developers experiencing difficulty after calling Threading.Sleep and more experienced developers take issue with its use but rarely is there ever a comprehensive explanation for that. I thought I¡¯d start a thread on this wi
-
- Detecting Root Folders
by Joseph Stalin
- 2 Replies
- Last post
by Tall Dude
- Whats the code to make my app tell the difference between a directory and a root directory
-
- DrawImage Error
by WayneSpangler
- 3 Replies
- Last post
by WayneSpangler
- I have the following code:
' Set the color matrix and the image attributes Dim clrMatrix As New ColorMatrix(Ary) Dim imgAttributes As New ImageAttributes imgAttributes.SetColorMatrix(clrMatrix) Dim g As Graphics = Graphics.FromImage(tempBmp) '================================================================ ' This is from MS Help 'Graphics.DrawImage Method (Image,
-
- ComboBox question?
by C#Newbie01
- 8 Replies
- Last post
by C#Newbie01
- I have a couple of comboBoxes that I am playing around with. I have one that pulls the list from an external .txt file and I was wondering if there was a way to set up the other ComboBoxes so that when I click on a particular string of text in the first ComboBox it loads information into the other ComboBoxes. For example, if I click "Item1" in the first ComboBox, it loads the second Com
-
- Macros
by BudEble
- 2 Replies
- Last post
by orcmid
- Hi all -
Does the express edition support command macros That is, a macro that can invoke a series of commands such as building a solution. I have a need to invoke the vcexpress.exe program via a batch file and feed it the name of a macro that can then automatically build a solution. The vcexpress program does not support the /REBUILD command line option, that is included in the full blown
-
- TreeView Nodes Launching new Forms
by grimdoomer
- 4 Replies
- Last post
by Martin Xie - MSFT
- I have a very difficult question even my teacher couldent answer. I have a treeview and in it the treeview has some Parentnodes and Childnodes. I would like to know how to get on of the child nodes to load a new form when clicked. I have the code that loads the new form, I just dont know how to get the child node to load it. There is no way to name it and I dont know how to call to it. So does any
-
- Com port Auto Response
by Spaceman1972
- 10 Replies
- Last post
by Carsten Kanstrup
- Hi,
I am sending, reading data from a com port.
The process is as follows:
Send a command, command example L0001051111H
comport responds with either 1,2,3,4,5,6,7,8,9, or 0
if 0 then send command 02 (which is in hex).
If 1,2,3,4,5,6,7,8,9, then msgbox with this number (which is an error code)
After sending 02 (which is a read command) I display the
-
- A reference to the "....dll" could not be added.Please make sure that the file is accessible and that it is a valid assembly or
by WillfinDavid
- 14 Replies
- Last post
by zxzqkrbrk Jr.
- When i add a .dll file as a reference in C# application it shows an error :
A reference to the "....dll" could not be added.Please make sure that the file is accessible and that it is a valid assembly or COM component.
Willfin David
-
- How do I Add a Property (field) at runtime in C#
by Bernard Bout
- 7 Replies
- Last post
by Bernard Bout
- 1. In VisualFoxPro If I have 2 classes: Define Class RequestObject As Session SessionID = "" MemberID = "" LoginName = "" Enddefine Define Class MemberDD As Session Acctname = "" Bankacct = "" BankName = "" Banksid = "" BranchName = "" ENDDEfine and I want to add a property at runtime to the first class I us
-
- Accessing the Icons in Microsoft Visual C#
by paoloTheCool
- 9 Replies
- Last post
by jrboddie
- If you right-click over a toolstrip it gives you the option to "Insert Standard Items". Those "Items" come with the standard Icons for Save, Open, Print, Copy, Paste etc. I was wondering if there was a way to access those Icons directly in Visual C#.
Thanks,
paoloTheCool
-
- Error -msvcrt80d.dll
by YDSAN
- 1 Replies
- Last post
by iccle
- Hi,
I am building a sample application in release mode. There is a linkage to msvcrt80d.dll. I am not able to execute the program. When I execute the program I am getting a message that dll is not found. Please let me know how I can overcome this issue.
Regards,
-
- Screen Capture of a Web Page
by ElvenWong
- 8 Replies
- Last post
by ElvenWong
- Hi there,
I have loaded a web link into WebBrowser1, for example http://www.yahoo.com
I used the following codes to capture the stuffs displaying on Webbrowser1.
Const ScrollbarWidth = 18 Dim wbRect As Rectangle = WebBrowser1.ClientRectangle Dim wbBm As New Bitmap(WebBrowser1.ClientRectangle.Width - ScrollbarWidth, WebBrowser1.ClientRectangle.Height - ScrollbarWidth) Dim g
-
- Can someone tell me if I'm on the right track
by FooFighter560415
- 10 Replies
- Last post
by oscarjaime
- In trying to make my video poker game I'm wondering if I'm on the right track here.
I *think* I'll need an array of numbers I can use as variables to choose the card images to show in each picturebox.
I'm not sure where I put the array code though. Would that go on the top of the main form code just under the public class mainform1 Or do I need to place the array in the sub where the
-
- how to insert into 2 tables at once?
by aisha
- 3 Replies
- Last post
by pinoyz
- Hi,
I have two relational tables in my project, and I have to insert data into both of them at one,, or since the first table was filled,, the second should be too ..
for example I have a book table, and book info table .. in the book I would have the ISBN, name .. etc .. book info has FK (ISBN) and other info about the book such as: description, category .....
information abo
-
- doubt on right click menu
by Badhris
- 2 Replies
- Last post
by Badhris
- Can anyone help me in getting the handle to the menu which appears when the user right clicks in the slide show window
That is , How to get the handle to the context menu which appears when the user right clicks in the slideshow window
Thank you for your help.
-
- Handling Thread Exceptions
by MGLC
- 2 Replies
- Last post
by ahmedilyas
- Usually, when a C# application generates an unhadled exceptions, your program displays either a Send/Don't Send window (if the exception has occured in a thread other than the GUI's thread), either a Continue/Exit window (if the exception has occured in the GUI's thread). At least this is what I observed.
I want to replace these two windows with a window of my own.
I managed to suces
-
- Getting Optimistic Concurrency to actually work
by Shodin
- 14 Replies
- Last post
by ron nash
- I'm having a real tough time figuring out how to get optimistic concurrency to work. I did the example at the following URL, substituting my info for what they had. http://msdn2.microsoft.com/en-us/library/ms171936(vs.80).aspx The only problem was that it didn't think there was a concurrency error and it updated my changes from the form after I made the changes directly in the database, completely
-
- axWindowsMediaPlayer issue
by Cameron Kloot
- 6 Replies
- Last post
by Cameron Kloot
- hi, in my program i have an axWindowsMediaPlayer component that plays songs. i load a playlist from a settings string collection. this works fine except for one thing, which i will get to in a second, but when i try to reload the playlist it doesnt work anymore, though when i restart the app it works fine. here is the method: player.currentPlaylist.clear(); Random r = new Random(); Lis
-
- Problem in Printing using API CreateFile();
by Murali425891
- 10 Replies
- Last post
by JamesSexton
- I have used Following Code to print to the LPT1. It is printing but only when i close my handle. Here is a code I have written. This is a impact printer (24 columns) UINT PrintThread(LPVOID lp) { while(stop) { if(Prn) { Prn = 0; HANDLE hLPT; unsigned char ch; unsigned long lLen; hLPT = CreateFile("LPT1", GENERIC_WRITE,
-
- VC++ functions in C# ?
by Gagan
- 3 Replies
- Last post
by nobugz
- Dear developers, I have been using platform SDK 2003 R2 and .Net framework 2.0 SDK and I am truly happy with the great details covered in Platform SDK on every single topic. But I wonder how to use platform SDK functions which are totally VC++ 6.0 dependent in C#.Net express edition. Is there any way because I am tired of reading assemblies and their methods and properties using "Object Bro
-
- Threading in C#
by guanzhao
- 14 Replies
- Last post
by rauhanlinnake
- Hi Experts,
I have a question which I want to seek assistance for. Hope you guys can help me am much as possible.
I have an event where I have to read an Excel File and plot a graph after I click on a button. However, after clicking on the button and the plotting begins, the problem arises.
The program form cannot be interrupted midway of the plotting as the program form appea
-
- Visual C# and SQL Express Problems
by Nefer-Ra
- 11 Replies
- Last post
by Figo Fei - MSFT
- I have installed SQL Express, Visual C#, created a test project and created a database. Made a table, populated it with some random info, and it appears that it is connected to the database server. I create a simple form to display in a table this information, it works. The problem is though, I cannot see my database with the SQL Server Management Express. I refresh and nothing, just like it does
-
- save/load
by hugas
- 3 Replies
- Last post
by Bruno Yu - MSFT
- How to make save/load function on my application (game)