Topics
-
- 0 replies
- 1.2k views
Hi, I am new to C# I want to know how to resize smoothly the AxShockwaveFlashObjects control with form using mouse where the flash control dock style is fill and form border style is none. thanks in advance
Last reply by mali313, -
-
- Leaders
- 1 reply
- 956 views
I have created an array of buttons, and need to event off them. Problem is I need the event to destroy the buttons and then recreate some new ones. I dont know how to destroy all the buttons that I have. Right now I am creating a duplicate form, but dont think that is really a good way to do it. :-( How can I just call a destruction of the buttons? HEEEEELP --------- Public Class frmBarSales Private Sub frmBarSales_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load lstItems.Items.Clear() lstItemsID.Items.Clear() 'lstItems.Items.Add("test KYLE") 'lstItemsID.Items.Add("1") 'lstItems.Items.A…
Last reply by snarfblam, -
-
- 1 reply
- 970 views
Am I missing the obvious? Does the ListView control not have an event for losing/gaining focus? Could someone point me in the right direction of how to detect when these 2 events happen on a ListView? thanks in advance, flynn
Last reply by flynn, -
- 3 replies
- 6.2k views
This is going to be an age-old question - I have a form that will perform IO File Transfer of certain files (10-20 of them) and this can take up to 10 minutes, during the file transfer period I want to display to the user a form that indicates what file is currently being copied. So - to that end - I created a new form (frmFileTransfer) that will display the File Name, Source, and Destination to the user while the IO File Copy is occuring - so I did something like this: Main Form this.hide(); frmFileTransfer fFileTransfer = new frmFileTransfer; fFileTransfer.show(); foreach (string sFile in sFilesToCopy) { string sSource = ...; string sDestination = ...; fFile…
Last reply by Nate Bross, -
- 2 replies
- 926 views
Hi, Anybody that has experience with Add-In's, I would Appreciate your help: I am building an V.S. 7 Add-In and I already have the add-in running but I want to know how to get a reference to an object while in debug mode, I have tried different things : Dim myObject as object If applicationObject.Mode = EnvDTE.vsIDEMode.vsIDEModeDebug Then myObject = applicationObject.Debugger.GetExpression Thanks in advanced, Karim
Last reply by royo, -
- 1 reply
- 918 views
Hi! I want to create an ink application in WPF. I also want the application to recognize the ink that's on the ink canvas. From what I understood- to recognize the ink I need to install the Tablet PC SDK. I downloaded v. 1.7 on my Vista, and ran setup. But in the middle of the setup- it said: "Windows installer has stopped working"- and it closed. What should I do? Is it not compatible with Vista? Are there other ways to recognize ink in WPF? Please help me. Thanks!
Last reply by amitairoa, -
- 1 reply
- 616 views
Hello, I use DeleteSetting to delete some application registry entries DeleteSetting("MyApp", "Section") It works well if the registry entry exists, but if not exist it will throw and exception, I catch it, but I want to prevent it from being thrown. How can I check if this entry does not exist then don't run this code? Thank you friends :)
Last reply by Nate Bross, -
- 1 reply
- 1.7k views
Hello, I am new to English and there are some words that I see here and there but never can find them in any dictionary! Can anyone please tell me what are these 3 words, for example? I am so curious about them! :p Omerta Bon Appetit Creme de la Creme
Last reply by Nate Bross, -
-
- Leaders
- 2 replies
- 1.1k views
I have an existing txt file that I want to open, get the text (which is a number), add 1 to the number and save/close the txt file. Sound like filestream but I'm not sure how to use it. I've founds peices of information but nothing I can use together. Any help out there? Thanks,
Last reply by bjwade62, -
-
- 1 reply
- 1.4k views
Hi Guys. Am in the process of creating a small app that stitches videos, but from different file formats. Like, maybe two video clips (one in avi and the other in mpeg) to be stitched into one video in either format. Links, tutorials, samples or any suggestions are most welcome and appreciated no matter how deep or stupid. :D thanks in advance!
Last reply by Eduardo Lorenzo, -
-
- Administrators
- 5 replies
- 1k views
Some of our apps need passwords to access parts that should only be available to management. We could develop our own and require management to remember yet another password that we would have to take care of resetting whenever they forget, lock themselves out, or whatever... But, what if we could tap into the Windows Login? Can that be done? Here's what I'm thinking: Call a login box (ours or Windows') and have them enter their username and password. If the username/password combination matches, we activate features if they are in management. I don't really need to know how the Windows Login works - I would just like to call it and get the results. Can …
Last reply by Nate Bross, -
-
- 2 replies
- 2.8k views
Hi! I try to play the game tunguska. I have installed Direct X 10. Everytime i try to start the game i get the failure message: .\DirectXAgent.cpp 48 / Jul 10 2006 18:02:18: GetDeviceCaps failed. :( What does that mean ? What can i do ? :confused: Thank you Danny
Last reply by Nate Bross, -
-
- *Experts*
- 2 replies
- 7.7k views
I'm having a little difficulty locking a texture. Does anybody have some sample code to lock a texture and get the array to the texture data using Managed DirectX?
Last reply by k317h, -
-
-
- Administrators
- 1 reply
- 1.1k views
I wrote in web.config the following lines: But every time I try to access any page from my site I get: My web.config on the site:: What's wrong to my site and how to fix the problem?
Last reply by PlausiblyDamp, -
-
- 0 replies
- 1.2k views
Create a menu/ui in VB.net Hello, How can i create a menu or ui in my vb.net directx 9 application? like a option-screen or login screen. The SDK has samples of CustomUI, but the scripts are in C++, and not VB :( greets, me
Last reply by Diamondo25, -
- 4 replies
- 19.6k views
Usually if I'm having a problem I can find others who've had the same problem, and so discover either a solution or that there is none. After a couple of hours on Google I haven't found a single person reporting this problem, which amazes me considering the simplicity of the task I am trying to perform. I have an UpdatePanel which contains a Repeater and a two LinkButton controls - one LinkButton causes an item to be added to the Repeater's data list, the other causes a random item to be removed from the list. Both these buttons work as they should, causing a partial page update which updates the UpdatePanel but does not refresh the entire page. Within the ItemTempl…
Last reply by jsm11482, -
-
- Administrators
- 7 replies
- 4.3k views
Hi, I am quite new to .net programming, and I am currently programming something that uses windows forms + mysql to maintain something. When I call Application.Exit() on a certain form , the program exits but it crashes and comes up with microsoft error message box. And the details say that it has semaphorefull. I have tried to catch the exception and do nothing to handle it so it doesn't come up with error message but its not working. The basic setup of the the program is that I have a mainform, and there is a button which opens up the other form. this is the code to bring the new form : private void btnAccounts_Click(object sender, EventArg…
Last reply by PlausiblyDamp, -
-
-
- Leaders
- 2 replies
- 1.6k views
Hi, I'm in need of circular shifting, which isn't supported in VB.NET. To make things a bit more complicated (no pun intended :p ), I only want to use the first 3 bits to do the rotation. (Just imagine a 3 bit integer) I've come up with some solutions, but I hope there is a more elegant, maybe faster solution. Shift to the right: X = ((X >> 1) Or ((X Mod 2) << 2)) Shift to the left: X = (X << 1 Or ( (8 And (X << 1) ) >> 3)) And 7 Note: I only need to shift by one, never more.
Last reply by MrPaul, -
-
-
- Leaders
- 4 replies
- 846 views
Hi all, How do you open a text file and use a WHILE loop to read all lines, one by one? Dim MyReader As New StreamReader("C:\File.txt") While MyReader.ReadLine IsNot Nothing 'How should I get each line here? End While
Last reply by snarfblam, -
-
-
- Administrators
- 4 replies
- 925 views
Following on from here, but getting to be a different topic really, so I'll start a new thread. Is there any method provided by VB for obtaining an eight byte hashcode from a string? The String's GetHashCode method seems to return a hashcode of 9, 10 or 11 bytes so is not quite what I'm after. Or should I design my own?
Last reply by rbulph, -
-
Who's Online 0 Members, 0 Anonymous, 45 Guests (See full list)
- There are no registered users currently online