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

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

Jessard

Member List

Pawan Kumar Falor
c#oder
Mark Nichol
Rod Fraga
uranus65
Rodz
Sanjit Sachan
C. Wells
Danny Furnis
Cole4473
james_h
Essential
JStorm
Nick752008
Tegs
Al Hancq
SQL2005usr
TanveerRashid
StandbySoft
status
Only Title

Jessard's Q&A profile

  • Visual Basic Migrating usage of VB6 control arrays to 2005. How do I do this?

    Hi again. Need some advice and I'm new to VB2005. In VB6 I used control arrays a lot, and there are no control arrays in 2005. I found out how I can do the same thing by referencing the handles in a sub, but I have another scenario not covered in MS's migration page. To make it simple, let's say I have 10 labels and I want to pick one randomly and display text in it. In VB6 I could have all these labels in an array and do this (quazi code) I = (random number generated between 1 and 10) Labels(I).text = "i was randomly picked!" I need to do the same thing in VB2005, but don't know how because each control has to have a different name, I don't ...Show All

  • Windows Forms Connecting to DB2 from VB. NET

    I can connect to DB2 using the following code. objDB2Conn = New Odbc.OdbcConnection(strConnStr) objDB2Cmd = New Odbc.OdbcCommand(strSQL) objDB2Cmd.Connection = objDB2Conn objDB2Cmd.CommandTimeout = 0 objDB2Conn.Open() But i am trying not to set the username and password in the connection string (strConnstr). I want to get the datasource prompt dialog box that is automatically shown when trying to create a connection (say from access or even creating a DSN). Is it possible How to do it I am using VS .Net 2003 .NET Framework 1.1 Configuration (version 1.1.4322.573) Thanks. I currently show my own dialog box to get the user name ...Show All

  • Visual Studio Tools for Office Get the current / active worksheet

    I'd like to ask how I can get an instance of the active worksheet in order to use the AddListObject method Currently, I used: Globals.Sheet1.Controls.AddListObject... But I want to add the listobject to the active worksheet instead of hardcoding to Sheet1. (If a user create a new worksheet, then my code will not work anymore) Thanks, Hi Peter: You access the current sheet using the "Me" keyword. So, you'd use a line such as this: Me. Controls.AddListObject(Me.Range("A1", "A5"), "MyListObject") Thanks! Mike Hernandez Community Program Manager VSTO Team ...Show All

  • Visual Basic VB.NET On Other Platforms

    I need to know if anyone out there knows if there is a way to build a VB.NET 2005 application so that it will run on LINUX, UNIX, MAC OS. If anyone could help I would greatly appreciate it, this is time sensitive. Thanks, Mike Short Answer, No. Long Answer.......No. (i'm sure someone will say...'No, but...') but the answers still no. ...Show All

  • Software Development for Windows Vista EventDeliveryFailedExceptions in WWF

    Hi, In our customer project we have created a smart client application which uses Windows Workflow Foundation for screen flow management. Our problem is that the workflow runtime randomly throws EventDeliveryFailedExceptions when we fire events from this host application to a specific workflow instance. Because it only happens randomly we assume that there might be a timer disabling the target workflow or a bug in Windows Workflow Foundation. Warm Regards, Chanduu Chanduu, -did you check that the workflow was waiting for the event the host triggered at the same time : ex , if the h ...Show All

  • Visual Studio Wrong Re-Install Procedure. Problems running VS2005.

    Hello, I have a serious problem in my system and I need Help or else I'll need to reinstall windows again. This is the situation: I installed the VS2005 beta 5 and everything worked out ok. I have an ideia for a project and i needed to install a third-party component to test. to install the component i had to install the last built of the SDK Framework. Big Mistake. Manage to install the component, but i messed up VS2005 since it started to crash everything I create a new project. I then uninstalled the component...but the VS still crashed. I then uninstalled the SDK...even worst mistake (didn't know that uninstall procedure had to be do ...Show All

  • Visual C# How to get the Name property of an Image Resource?

    Is it possible to access the Name property of an Image resource from my application resource For instance, I'd like to do something like this: { ImageList il = new ImageList(); Image myImage = Properties.Resources.MyImage; String myImageKey = Properties.Resource.MyImage.Name; //doesn't exist il.Images.Add(myImageKey, myImage); il.Images.ContainsKey(Properties.Resource.MyImage.Name)... } In other words, I don't want to have to maintain a separate list of ImageKeys to correspond with the resource names. Any suggestions Thanks in advance! -John Hi! Image do not have ...Show All

  • Visual Studio Dynamic data set for Cystal Report

    can anybody tell or suggest a link on how to generate crystal reports in C# dynamically,by an sql query generated by some user input. e.g user enters employee_id and press a button to see report for that particular employee_id. i am using VS 2005 and can generate reports by speccifying datasource at design time. thanks in advance. If you are only doing something as simple as that, I would suggest creating a parameter in the report and doing a record selection on that parameter ...Show All

  • Visual Basic Help storing data in different formats

    I am working on an application that I would like to be able to store the data in different locations (xml file, access db, SQL server).  Any ideas how the best way to accomplish this   I have several collections that contain the data that I want to store, and I am trying to figure out the best way to manage the data (read from database/update to database - connected to network/not connected to network) - somewhat like a Smart Client application.  Any pointers or samples would be great. Thanks You could create an abstraction layer, I think it depends on how you want to use the data. Are ...Show All

  • Smart Device Development multithreading

    Hi guys, I am having a problem with implementing two threads in an application. One of the threads is doing the timer, which updates the progress bar everytime it ticks. The other thread is a work thread. Here is my code. It freezes when I run it.   private void timer1_Tick(object sender, System.EventArgs e)   {    if (this.progressBar.Value<this.progressBar.Maximum)    {     this.progressBar.Value++;    }    else if(this.progressBar.Value==this.progressBar.Maximum)    {     this.timer1.Enabled = false ...Show All

  • Smart Device Development Custom Build Rule "works" but makes project undeployable

    I am trying to use a Custom Build Rule to build assembler files, much as described by Jeff Abraham and I am kind of running into the same problem. The rules files only differ on the extension used and some quoting practicalities. I don't agree with Jeff's analysis of what is going on however: An unfortunate side effect of this build rule is that you end up deploying the .obj produced, because it becomes a project output As far as I can see it's rather the case that a file called <projectname>.obj becomes a project output. I don't have any file by the same name as the project and so I will never have a .obj by that name, so d:\...\ ...Show All

  • Visual Studio Debug DLLs not installed

    I just installed beta 2 and it appears that the MSVC debug DLLs are not installed.  I successfully compiled a program in debug mode and when I go to execute it I get a popup saying that MSVCP80D.DLL cannot be found.  Doing a search I can find MSVCP80.DLL, but not it's not debug counterpart. Anyone know how I can get this file installed (Btw, I went thru a repair cycle and that didn't get it installed either) I installed the VS 2005 Beta2, let it convert all my project and solution files, and I've hit this dialog (Can't find MSVCP80D.dll). On my machine, there is a directory C:\WINDOWS\WinSxS\x86_Mi ...Show All

  • Visual Studio Tools for Office locking/unlocking bookmarks dynamically

    Suppose I'd like to allow users to edit only certain fields of my Word document, according to their user group. One option that I found is to always programmatically protect the document with a password and then allow access to some specific bookmarks, as shown by the following code: object editorType = Word. WdEditorType .wdEditorEveryone; this .bookmark1.Range.Editors.Add( ref editorType); The question is: how do I remove this "edition permission" of the bookmark When the document is saved and other user opens it, the bookmark is still editable... Thanks a lot, -- AFurtado   Hi Andre, When you add an e ...Show All

  • Visual Basic how-to catch when data changed on form?

    I have a form with both a TableAdapter and other TextBox. When the user changes the data in the fields connected to the TableAdapter and click the NEXT or PREVIOUS button, it calls the BindingNavigatorMoveNextItem.Click. My problem is: I checked me.dataset.HasChanges and it says FALSE (although the data was changed). What I don't understand is this: if the user click the NEXT or PREVIOUS button, the me.dataset.HasChanges says TRUE (although the current record hasn't changed, it's the previous one that has changes). It seems like the me.dataset.HasChanges event doesn't get flagged until the next or previous record h ...Show All

  • Visual FoxPro Input mask for a spinner

    I've defined an input mask for a spinner as $$99999.99 It displays the value $ 855.09 as $ 955.9 What am I doing wrong Thanks. I've defined an input mask for a spinner as $$99999.99 It displays the value $ 855.09 as $ 955.9 What am I doing wrong I tested this with a base class spinner bound to both numeric and currency fields and it worked flawlessly. Is you spinner a bound control(is the controlSource set ) What is the data type of the field that it is bound to Dp you have any code in any of the methods in the spinner       ...Show All

©2008 Software Development Network