John123's Q&A profile
Windows Forms Witch Radio Button is selected in my group? What technique is best to determine?
I have some radio buttons in a panel or group box. I thought I remeber from VB6 that a panel has a radiobuttonSelected value (or something like that) and a change event. What is the best way to detect changes to radiobutton groups and what is the best way to determine witch radio button is selected Do I loop through the panel's child controls Any code showing this demeonstrated would help. Thanks, Mike you could loop through each radio button in the panel/groupbox controls collection and see which one has been selected but that would rather be a perf issue if you are dealing with a fair number of radiobuttons to do this... RadioButton theRadioButtonSelected = null; foreach( ...Show All
Visual Studio Express Editions Visual Basic windows forms
Hey, I've only started using Visual Basic tonight, and I've never touched any previous form of VB and/or Visual Studio. So this is probably the newbie-ist question you've seen for a few years if not ever. Anyway, I've got a task set out whereby I must create a testing program as such, with multiple choices. I've created a form for every question, along with a welcome form and a grade form. My question is simply, how do you link the forms, so that a user can click the button labelled "Continue1" and it opens up form2, within the same space and so on and so forth. Any help would be more than gratefully received. Thanks! hi again, hit more problems today here is my form number 3. ...Show All
Windows Forms ClickOnce publish problem for Remote Site
Hi. I want to use ClickOnce so that I can install a WinForms application from a web site. I have two questions: 1) What do I need to do in IIS to support ClickOnce I think it needs FrontPage Server Extensions. I have also tried creating a Virtual Directory etc. So far I have been unable to publish into the Virtual Directory and I get errors like... Error 3 Failed to connect to 'http://<domainname>/ClickOnceTestInternal/' with the following error: Unable to create the Web 'http://<domainname>/ClickOnceTestInternal/'. Server error: 'ClickOnceTestInternal' does not refer to a page or folder in this web. It may be a page or folder in a subweb, or it could be a badly formed URL. What else do I need to do 2) I need to ...Show All
Visual Studio Express Editions Locking Mouse
Hi ive been looking for days to find the code that will lock "Block" the mouse move event from being processed... So far i've tried the code: actHook= new UserActivityHook (); actHook.OnMouseActivity+= new MouseEventHandler (MouseMoved); public void MouseMoved( object sender, MouseEventArgs e) { Cursor .Position = Ace; } where Ace is the point that the mouse was at last. This doesn't work unfortunatly as i can still move the mouse around... That event is hooked with a class called UserActivityHook (declared as actHook) (not my class) UserActivityHook public event MouseEventHandler OnMouseActivity; I'm thinking that Cursor .Position is only repainting the cursor and while the mouse ...Show All
Visual Studio 2008 (Pre-release) Binding to the Binding.XPath property
Hello I need to be able to bind to the XPath property of a binding object, but i can't because XPath isn't a DependencyProperty. Does anyone know of a sneaky way around this the following doesn't work but illustrates what i'm trying to do... <TextBox> <TextBox.Text> <Binding XPath="{Binding Mode=OneWay, Path=Something.HelloWorld}" /> </TextBox.Text> </TextBox> Hi Mark. Thank you for your response. I did try using OneWayToSource but it still complains that Binding.XPath isn't a DependencyProperty on a DependencyObject. Perhaps I'm setting it up wrong (I've had a good look at www.beacosta.com but not found anything on binding to binding objects - of course there may be a good reason ...Show All
Game Technologies: DirectX, XNA, XACT, etc. C# and Dx9 trouble.
Hi, I'm not sure if this belongs in here, because I don't know wether my problem is a C# or a Dx9 issue, but ill take my shot. I made a C# Project using VS2005 Proffessional, which includes a Picturebox, in which I render my 3D stuff using DX9c. The app also has some non DX9 standard tools, like Buttons, Textfields, etc... . The second i start rendering with the Directx device, all non DX9 stuff stops being redrawn. The Buttons still work but theres no animation, no update, the Framerate stops being updated, nothing works which includes graphical altering except the DX9 stuff rendered within the Picturebox. I tried to Refresh the Form, but nothing helps, I'd appreciate all comments, thnx. Greetings Alexander You h ...Show All
Visual C# How to create exe file from my program
Please help me quickly !Thanks . Hi, Use CodeDom Apis for that, [I assume that you are using existing cs code files or you are inputting code in c# from your application and then creating exe] Compile code using csc with the command line arguments to create and exe HTH, ...Show All
Visual C++ set<String> in Visual C++ .NET
How do you use a set of Strings If I say set<String> *st; String *s = S"FOO"; st->insert(*s); I get an "illegal use of managed type" message. thanks Well it comes down to this: is a set of String (NOT string) a valid concept, or not If it is, how is it used JK ...Show All
Community Chat Phoneme of wave file
Can any one tell me how can i find the phonemes of wave file it's in Java, but i would check out the code here : http://cmusphinx.sourceforge.net/sphinx4/ Thanks, casey ...Show All
Visual Studio Express Editions Tackling an issue
Hi all, I'll try to describe this as best I can. If it gets a little confusing, let me know and I'll try to rephrase everything I've said! For the past few weeks I've been trying to get my head around VB2005EE. After reading a few books and tutorials I feel that I'm almost ready to go ahead and build my first "real" program to distribute. The program I have in mind should be nothing complicated, but I'm a little confused on how to build the key feature. Without giving too much away, my idea is to build a large database on every ride, roller coaster and theme park in the world. Each entry will feature statistical information on the particular attraction, along with media (video/pictures), location etc. - this will mean I'll have ...Show All
Windows Forms Adding help to an application
I have used HelpStudio lite to generate help content but I can't figure out how to add it to my application. The help keeps talking about adding / registering it to Visual Studio, but I just want it to be relevent to the application I am developing. How do I display the help window How do I get the help content being displayed to be the help content I produced Thanks, John Is there a class like Help but that deals with Help 2.x files Help seems to be for Help 1.x (chm) files instead of Help 2.x (hxs files). ...Show All
Windows Forms How to schedule an automatic publication from an IIS5 web site to an IIS6 web site ?
I have the same web application installed on 2 differents servers: one is IIS5 and the other IIS6. The web pages are updated on the IIS5 server. I would like to schedule an automatic daily publication of the web site located on the IIS5 server to the same web site on the IIS6 server. How can I do that Thanks for your help, Anne Thanks for your answer..but what I don't know is what should I put in the batch file. A simple copy of the web directory is not working, I have already tried it, because the IIS versions are not the same. I need a command equivalent to the publish fonctionality in Frontpage. I'll have a look on the www.asp.net site. Anne ...Show All
Windows Search Technologies Integrate external search result in WDS
Hi, perhaps this may be a really stupid question but i could not find anything about it through the search The idea is that i have an external application which can not be indexed by WDS (because of the data size of >5-80GB). I have already implemented a search functionality in that application. The only thing i want is that whenever i search in WDS the resultset of the search from the third party application is displayed additionally (e.g. by calling a web service with the search parameters and returning a predefined XML document) Is there any way to integrate the search result in WDS (and not indexing the content) Thanks a lot. For more information you might want to check out the team blog: http://findmystuff.spa ...Show All
Visual Basic Outlook - Send mail without a message warning
Hello, I need to create a function which send a mail. But when I execute my sub, I have a message warning. How can I send mail without this message I need to send a mail to a user of my network, I use Exchange server. thanks ! Ben ' Create an Outlook application. Dim oApp As Outlook._Application oApp = New Outlook.Application() ' Create a new MailItem. Dim oMsg As Outlook._MailItem oMsg = oApp.CreateItem(Outlook.OlItemType.olMailItem) oMsg.Subject = "Send Attachment Using OOM in Visual Basic .NET" oMsg.Body = "Hello World" & vbCr & vbCr ' TODO: Replace with a valid e-mail address. oMsg.To = "truc@muche.com" ' Add an attachment ' TODO: ...Show All
Visual Studio When will VS 2005 and VSS 6.0 work?
Open vs 2005, select "pending checkin window" for about 10,000 files wait 45 min to 1 hour.. The test are vs 2005 as released with latest hotfixes before SP1. The same project before conversion to vs 2005 was instant in vs 2003 what is broken in vs 2005 taht still takes 2.5 minutes to display ckeck in ...Show All
