Software Development Network Logo
  • VS Express Editions
  • Visual Basic
  • Visual J#
  • Visual C++
  • Windows Forms
  • Game Technologies
  • Visual Studio
  • SQL Server
  • Visual C#
  • VS Team System
  • Windows Vista
  • .NET Development
  • Windows Live
  • Visual FoxPro
  • Microsoft ISV

Software Development Network >> kungfusheep's Q&A profile

kungfusheep

Member List

Fritzables
jerrison
wy125
Jimdbc-LLC
INFOequipt
KamalHWZ
NewWorldMan
Andrea Ramacciotti
sewe
Hugo Batista
Dave Yuhas
Amit Bhagwat
briankerri
Eric Chong
sjj668
seons
Allen Copeland Jr.
epepping
RomanQ
Tim Stall
Only Title

kungfusheep's Q&A profile

  • Windows Forms Oh, the magic that the Tab key does (focus)

    [Using VS2005 Beta2...] The FocusRectangle is a very fickle thing. Create a form with two buttons on it. Create a KeyPress event for the form that cycles focus between the two buttons (turn on KeyPreview for the form): private void Form1_KeyPress( object sender, KeyPressEventArgs e) {   if (button1.Focused)   {     button2.Focus();   }   else   {     button1.Focus();   } }   If you press any key other than the Tab key focus will cycle between the two buttons without ever showing the dotted FocusRectangle. Now hit the Tab key and the nifty FocusRectangle sho ...Show All

  • Visual Studio Express Editions Chart Control

    I have upgraded a VB 6 application that has a chart.  The upgrade was successful but when I run the application I get the following error: System.InvalidOperationException was unhandled   Message="An error occurred creating the form. See Exception.InnerException for details.  The error is: Unable to get the window handle for the 'AxMSChart' control. Windowless ActiveX controls are not supported."   Source="WindowsApplication1"   StackTrace:        at WindowsApplication1.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 180  &nb ...Show All

  • Visual Studio Express Editions Problem with SQL query

    Hi I'm trying to write a query ---------------------------------------------- SELECT field1, field2, field3 FROM table WHERE field1=form.textfield ----------------------------------------------- Where form.textfield is a link to textbox in form. It doesnt understand this link. In previous versions (VB6) it works. Is there any changes in syntax in new VS Do not concatenate user input to a sql statement! Use parameterized query instead. This will avoid sql injection attacks. Something like this if you use the sql client. Dim strQuery As String = "SELECT field1, field2, fiel ...Show All

  • Visual Studio Express Editions the code has some problem

    Hi, I am using VB express 2005 to create an interface to retrieve data from Excel spreadsheet then store it into my Access database. I am able to retrieve data and store it in a dataset then display it in a dataGridView. But I am not sure how can i store the data into an Access database. I tried to connect VB to Access by opening a connection and then create a table in Access. I created a DataGridView and bind it to this table. I can do normal insertion, deletion to the table. But when i change the content of the dataGridView to my spreadsheet by writing some code then do the normal save as usual, the content in the ...Show All

  • Visual Studio Tools for Office VSTO 2005 problem

    It was announced yesterday at TechEd 2005 that VSTO now supports creating managed add-ins. Check out my blog at http://blogs.msdn.com/pstubbs/ or the VSTO Team blog at http://blogs.msdn.com/vsto2/ Download VSTO for Outlook : http://msdn.microsoft.com/office/ VSTO for Outlook is a great and much asked for addition to VSTO and Office developers. Thanks Paul Stubbs Hi Bas, Let's see if we can you get an answer. Could you let me know 1) Which edition of VS.NET are you using 2) The installation order (Office 2003, SP1, VS) 3) What type of installation of VS you used 4) Can you create other types of Office project (Word document, Excel doc ...Show All

  • Software Development for Windows Vista Vista UI lacks of Transitions, Fades and some other things

    I like Windows Vista very much, but when i compare the current December CTP [of which I am beta tester] with a Mac OS X Tiger video found on the apple homepage, Vista falls behind in some areas. What I find so pleasing in Mac OS X are the cool but not annoying transitions in various parts of the user interface. In Vista, except of the window minimize to taskbar, maximize from taskbar, window open and window close effects, there are none noticable. There should be much more, for example when opening the start menu, etc. There are tons of possibilities for transitions which look nice,  aesthetic, don't disturb users and help better recog ...Show All

  • Software Development for Windows Vista Using root activity parameters

    I've created a workflow from using a root activity class that derives from SequentialWorkflowActivity and adds some additional properties. These appear fine in the designer properties grid but I'm unable to find them in the browser when I want to associate them to properties against other Activities. I'm using Beta 2.2 version. Any help would be appreciated. Tim, Can you post the code snippet of your property By "browser" do you mean activity reference dialog "Bind 'prop1' to an activity's property" Thanks, ...Show All

  • Windows Live Developer Forums Windows Live Messenger Problem

    I was Invited to be a Windows Live Messenger BETA tester. So I installed it and opened it up. When I tried to talk to one of my contacts there was an error, and it closed Windows Live Messenger. So I open it up again, and try and chat, and it happens again. And this happens every time I try. I've uninstalled it, re-installed, repaired it tons of times. Can anyone help me -FrdBed My messenger live...was working fine untill the last update of WLm 8.0.0566...it works fine on my other machine at workplace but the machine i use at home doesnt...subsequent are the details Error Signature App name:mssm ...Show All

  • Visual C++ mousedown question

    I'm trying to find out when the last time the mouse was clicked.  I find plenty of info on where , but nothing on when .  Any help would be appreciated. There is no such information about this. Add a handler for the mous click and use GetTickCount() to save the time when the function was entered. There is also a function GetMessageTime that gives you the exact tick count from the point were the message of the click was created. You know that due to the message queue processing there might be a difference in time when the message is created and when the message arrives in you handler. http://msdn.mi ...Show All

  • Visual Studio Invoking targets, not from command line

    Hello, I wanted to ask if there is a GUI application that: 1. invoke build files 2. invoke targets from build files (I'd prefer a checklist of targets) 3. override build properties 4. save the configuration data between runs 5. tells the build result, and display the build output I would like to know if there is such application (I need it inside and outside visual studio). it will be very helpful for my project. Thanks. We have a solution that compiles a bunch of Objective C code from within VS.  You can create a csproj like so: <Project DefaultTargets="Build" xmlns="...">   <Target Name="Build"> ...Show All

  • Visual Basic Upgrade GetEXEName()

    I'm trying to upgrade my application form VB6 to VB.NET I had the folowing commandline in my code: App.Title App.EXEName. I dont find any equivalents in .NET. I tried For App.Title - GetExecutingAssembly.GetName.Name OR Application.ProductName For App.EXEName - VB6.GetEXEName Any suggestions to get the same values in VB.NET your App.exeename equivalent in Visual basic would probably be System.IO.Path.GetFileName(Application.ExecutablePath) I'm not sure what value you want in App.Title ...Show All

  • Windows Forms vb.net application using Crystal reports won't deploy

    Hi, I'm having issues with an application that uses crystal reports. It simply won't deploy to a machine that doesn't have VS .net installed on it. The application is VB.NET based and works fine if I remove all the code related to crystal reports. Am I missing something here  I can't find any information on why this would be the case. I've experi ...Show All

  • SQL Server Bug in NS 2005?

    We have rolled out a solution on SQL 2005 and NS for 2005. As we have been looking into reporting notifications from our system I came across that a column that is created out of the box does not make sense. In the generated table NS<NotificationClassName>Notifications there is a column called SubscriptionID, it is set as nvarchar(255), but in the NS<SubscriptionClassName>Subscriptions the SubscriptionID is BIGINT. Why would then be different when the refer to the same thing What we have done for our solution is not read from the NS table directly, since we do have vacuuming enabled, but we trigger all notifications to another t ...Show All

  • Visual Studio Tools for Office Excel File Deployed to WSS?

    I have read through the msdn deployment documentation (please don't bother responding with the msdn deployment links), but I was wondering if anyone has any personal experience deploying an Excel (or any office doc) to a WSS document library. Is it a simple matter of updating the manifest with some sort of network folder or url I would like to have users open an excel file from a particular site, and then populate a named range with list values from a seperate list on the same site. It doesn't seem like it would be all that hard to implement once I have figured out how to host a file (and its related VSTFO assembly) in WSS. Thanks! ...Show All

  • Smart Device Development Cannot figure out how to use editorattribute to get a dropdown box to edit Text!

    I have read and searched for hours online through hundreds of completely useless information regarding designer attributes. I have a custom control and all I want is for the user to be able to update the a string property named Text with a drop down textbox like any normal label or textbox control . I don't want to write my own editor or anything like that. This should be simple, but I cannot find an example anywhere online where someone shows how to do this. If you are using the 2.0 Framework, try adding this attribute to your text property: [ Editor ( typeof (System.ComponentModel.Design. ...Show All

©2008 Software Development Network