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

Software Development Network >> Tim Goldstein's Q&A profile

Tim Goldstein

Member List

SamirPatel
John Basedow
loki55
Falsedawn
drinkingredvodka
LTrue
Jcwf
celli
sara8dev
Hardascii
Ashvin Patel
Maverickcoder
Morten_73
plsh
AndersS
Brian Sullivan
kop48
jayman16
Jaalenn
leriksen71
Only Title

Tim Goldstein's Q&A profile

  • Visual Studio Express Editions How to reference a textbox via a string in code?

    I imagine that this is a rather simple task; however I do not have a particularly large depth of knowledge and experience in VB… I have an arrangement of text boxes (id1_1, id1_2, id2_1, id2_2) which I wish to be able to reference in my code from a string such that I can change the text box’s text etc. I receive the data required to construct the string from a connected serial device. What I require is a method to construct a textbox object reference from a string, something like getObjRef(string) as object Cheers Wilbo To do this requires the use of ref ...Show All

  • Windows Forms Win Button Shortcut question

    Hi everyone I did this so long ago, I forgot how to :-) When I add a shortcut to a button aka set the text of Button1 to &Button1, my form only displays the shortcut when alt is pressed, not before. How do I get the forms to display the keyboard shortcuts on the forms from the beginning without having to press ALT first Thanks Sorry everyone, found the answer. For the Letters to appear underlined at runtime, Go to Control panel > Display > Appearance > Effects and uncheck the "Hide underlined letters for keyboard navingation until I press Alt key" ...Show All

  • Smart Device Development sql connection error

    I am getting following error: Error 1 The type 'System.Data.Common.DbConnection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. C:\Documents and Settings\Adnan\My Documents\Visual Studio 2005\Projects\Mobile5\Mobile5\Form1.cs 20 4 Mobile5 the line which caused problem is System.Data.SqlServerCe.SqlCeConnection conn = null; following are being used as reference using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System. ...Show All

  • .NET Development Web Data Feed

    Hi peers, as i am currently developing Multiform Windows Application using VB .Net (VS 2005 Pro) as DE, which one of the tasks is to: 1. retrieve financial index quotes from publicly available sources such as cboe.com (eg VIX). 2. to show the specific values at the assigned text boxes in UI in Windows Application (such as open, high, low close price etc) 2. then to store those quotes in virtual data set as the historic quotes, which later on can be used for analysis such as Moving Average or etc I was hoping to find some sound directions for this on MSDN unfortunately in both aspects : a) ho ...Show All

  • Visual Studio 2008 (Pre-release) How do I disable ListBoxItems?

    Ok here's my situation. I have a custom control that contains a ListBox. On some some screens, I need the ListBox to function normally with it's rollover and selected states. On one screen however, I need the items to not react to mouse input at all. It is contained inside of a Button on this screen and I need to it pass the Click event to the Button. Also I don't want the highlighted states to show on this screen either. Using an ItemsControl works great if you will never need the ListBox functionality. I have tried setting Focusable=False on nearly everything associated with ListBox to no avail. Thanks is advance for any help! Lee ...Show All

  • Visual C# explicit operator overload for arrays

    I have two classes, Person and Reporter. I created, in the Reporter class, explicit operator overloads going both ways, Person to Reporter and Reporter to Person, and it all works as designed. I can explicitly cast: Person p = new Person(); Reporter r = (Reporter)p; // works great! Now I want to do this: Person[] people = new Person[50]; // some code here to populate the Person array with Person objects, then: Reporter[] reporters = (Reporter[])people; // Crashes. I've changed the code so now I can't get the exact error but it is //something about user defined conversions must be to or from the enclosed ty ...Show All

  • Visual Studio Team System Unit test runs fine on TFS machine but fails on Remote Build Server

    If I launch my Build Type on the machine that has TFS it runs with no issues but once I specify a remote build server it fails running the tests. There's only one test configured in the specified test list: <TestingArgs>/testmetadata:$(SolutionRoot)\MySolution\MySolution.vsmdi /testlist:MyBLLTests</TestingArgs>   Any help will be appreciated... Target "Test" in project "TeamBuild.proj" Using "TestToolsTask" task from assembly "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.QualityTools.MSBuildTasks.dll". Task "TestToolsTask" Loading c:\TeamBuilds\.......\MySoluti ...Show All

  • .NET Development Removing IIS site port from WSDL

    Due to the arrangement we have with our firewall, our IIS server sits behind our firewall and hosts websites on different ports. When requests come though the firewall for different URLs, the firewall handles these and passes them onto the appropriate sites by their port. This is fine for everything but web services. When you try to capture a web service on a site behind the firewall, for some reason the WSDL keeps putting the port of the website in IIS in the path, and as a result, gets blocked by the firewall (because all requests go through HTTP(S)). How can I prevent the WSDL file from automatically adding the port to the web servic ...Show All

  • Visual Basic stop watch using vb.net 2005

    how can i create a stop watch using vb.net 2005 i am performing a data extraction job using windows forms and want to display time elapsed on the form. how can i do it Thanks I tried your code and it worked fine. Of course I don't know how you declare stopWatch, tmrMain and what CreateReport does; so I just created standard components and commented out CreateReport. It is strange that you did not hit a break point in tmrMain_Tick. Did you try putting a breakpoint on If stopWatch.IsRunning Then Without more code I'm afraid I cannot investigate further. Regards, ...Show All

  • Visual C# upload method only uploads file once in a while?

    Laptop spec: XP Pro Programs of use: ASP.NET WebMatrix, SQL Server 2000 desktop engine, C# Thanks James and David for your help in my previous posts! I've have a partially working upload method, but it's rather flaky.... it can upload images successfully and consecutively, as well as uploading the data in the text fields when I don't specify a file, but it can't upload music consecutively. I'm not sure how, but just some fluke I've successfully uploaded music files twice, but the other times I get the "oops, we can't open..." page. When I look at my SQL tables, the column holding the successful uploads h ...Show All

  • SQL Server SSIS packages in registry?

    I thought so but I'm looking for a couple of packages and I am not be able to find any there at all. ...Show All

  • Visual C++ error C4368: mixed types are not supported

    I declared a member wchar_t sometext[05] inside my managed class.  The code does not compile and I cannot figure out why because this error message is not explained in the online help.  What is the difference between the implementation of wchar_t letter1, letter2, letter3, letter4, letter5 and wchar_t sometext[05]   The former is allowed but the latter is not.  Please help. Chris Correct. What you need is either array<wchar_t> ^letters or wchar_t* letters and then allocate the space in your constructor. ...Show All

  • Windows Forms additional Parameters to my app

    I would like to send parametes to my app at start up- I know how to use the Sub Main ( args() as string) - but the question is how can I send more args and still only have one exe running   What I have is a document management system that users need to "hot key" from the main frame system to validate against a sc ...Show All

  • Software Development for Windows Vista Spawning multiple instances of the same workflow

    I am currently using WWF v2.0beta and completed building a workflow project that handles one instance of the workflow.  I am interested in making this project multithreaded and have it handle multiple instances.  What is the correct process to do this What my program does is that it has a listener that waits for messages, when it gets a new message it should spawn off a new instance of the workflow.  For the single instance example the workflow is started in the Program.cs file with the following command: WorkflowInstance instance = workflowRuntime.CreateWorkflow( typeof (RecvMsg. Workflow1 ), parameters); in ...Show All

  • Smart Device Development could someone please interperet this small program for me

      Hi, just for starteers I posted this before and it got deleted how come! ! anyway I have small program here I was wondering if someone could please explain to me what the actual purpose of the program is and what its actually doing,,, and perhaps if you can maybe explain the function of each line of coding and what its doin... thanks alot /* this program demonstrates A/D 0 on the pc30 card */ #include <stdio.h> #include <dos.h> #include <conio.h> void main()   {     int bin,adccr=2,base=1792; /* for A/D1 adccr=18, for A/D2 adccr=34 etc */     outportb((base+3),146); /* wake up the ...Show All

©2008 Software Development Network