Software Development Network Logo
  • Visual C++
  • Game Technologies
  • Smart Devicet
  • Audio and Video
  • .NET Development
  • SQL Server
  • Microsoft ISV
  • IE Development
  • VS Team System
  • Visual FoxPro
  • Visual Basic
  • SharePoint Products
  • Visual C#
  • Visual Studio
  • Windows Vista

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

rskorski

Member List

Toni Greco
Shady Brady
Yorker
AaronBrock
V.E
Aravind Sundaresan
Philipp Lamp
Alex.Zealot
Dave987654321
Heathermack
PeterKar
VladAll
careyr
Jurgen Meijer
gafferuk
Seppe001
AndersBank
Lawrence 007
shohaib
sam-pan
Only Title

rskorski's Q&A profile

  • Visual Basic anyone familiar with Integer.TryParse ?

    I have a strange problem with trying to parse a string from a textbox was wondering if anyone can figure this out. I have two code samples. The first doesn't work . The second does. The first sample will simply skip over the If statement and enter the Else statement. The second sample will enter the If statement and compile properly. Thanks for the help! 'This method DOESN'T WORK Private Sub Compare() Dim sw As Stopwatch Dim outputString As String compareBtn.Enabled = False iterationsTextBox.Text = String .Empty stringResultsTextBox.Text = String .Empty stringBuilderResultsTextBox.Text = String .Empty ratioLabel.Text = String .Empty Me .Refresh() 'This doesn't work when Integer.TryP ...Show All

  • .NET Development CollectionEditor.CreateInstance failure

    I am creating my own collection editor for my own collection, deriving from System.ComponentModel.Design.CollectionEditor. I am attaching this collection it to a property of my collection in one of my components for design time editing of the collection. In my collection editor I am overriding its CreateInstance method. This method can fail in my implementation of it. What do I do if it fails Do I throw an exception or do I put out a message box and return null I subsequently saw that the documentation says to throw an exception but it does not say what type of exception to throw. I guess I will just pick one out that seems appropriate. ...Show All

  • Software Development for Windows Vista Best practices for integrating WF & WCF?

    Hi, I was thinking about designing a SOA platform on top of WCF, where WF gets the task to orchestrate the services. So I was searching for ways WF could interoperate with WCF. Currently I see only two approaches to do so: a) workflow communicates with the outside world via usual local services, which might be backed by WCF Services. This approach is shown in the expense reporting sample. b) workflow communicates via direct calls to WCF Services. This approach is shown by Roman Kiss in http://www.codeproject.com/useritems/CustomRemotingForWorkflow.asp Comparing this two approaches I would say following (though I'm pretty new to this topic and might be wrong): I like in a) that it's transparent whether one is using a light weight local serv ...Show All

  • Windows Forms Datagridview - ComboBox column getting blanked out

    am using the datagridview to display 7 columns, 1) text box column 2) combo box column - parent1 3) combo box column - child of parent 1 4) combo box column - parent2 5) combo box column - child of parent 2 using databinding - all works fine except when the user selects a child of parent1 combobox to change its value, all of the other values in the column that are not valid entries (as a child of parent1) get blanked out - this happens until the dgv_Items_CellEndEdit event has fired (which includes dgv_Items.Refresh()) is there any way of changing this behaviour so that just the combobox being edited gets blanked thx for example column 1 contains co ...Show All

  • Visual C++ How to convert unsigned short[50] to CString?

    How to convert unsigned short[50] to CString, the following is a example for this: TCHAR Key[50]; CString strParam1; strParam1 = Key; for the above statement, how to realize the data conversion in vc2005 Thanks you very much. What version of MFC is this ( i.e. what compiler ). I thought later ones did this for you, CString is Unicode aware. CString strParam1(&Key[0]); ...Show All

  • Software Development for Windows Vista Enumerating Audio Source Lines in Vista ?

    hi, What Interface or API to use for enumerating Audio Source Lines (i.e Line IN, microphone, phone Line, CD Audio) In Vista Scott, i didn't got you, how you used EnumPartsIncoming(), when i'm usins it, i'm getting the Part Name as "Enable Digital OUtput", now where this came from and can you more details on how you got the other source lines (CD Audio, Phone Line etc ..) And are you able to control there volume programmetically ...Show All

  • Microsoft ISV Community Center Forums DLookup help?

    Hi there - im building a contact management system and require some help. I have previously had help with VBA in terms of defining what users can and cant do within the system when logging in via a username and password which was incredibly useful. Im now at further along the route and now want to incorporate an activity system that will record all hours that employees will have worked against clients. However we have a lot of clients! The users login name('login_name' which is held in 'tblusers') is also entered into a 'leadofficer' field in 'tblcompany' so that we know which user is responsible for managing that client - this is done through a combo box on the company entry form so it looks up the values from the table 'tblusers'. On th ...Show All

  • Visual C++ Problem with calling Directory's GetCurrentDirectory

    On my WinForms app, the following line fails to compile. Does anyone know why FYI: The WinForms app's "character set" is set to "Not set" in the project settings. System::String^ path = System::IO::Directory::GetCurrentDirectory(); The error message is: error C2039: 'GetCurrentDirectoryA' : is not a member of 'System::IO::Directory' c:\winnt\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::IO::Directory' .\Main.cpp(144) : error C2660: 'GetCurrentDirectoryA' : function does not take 0 arguments Hello, Looks like you are using windows.h file. Try to undefine the GetCurrentDirectory function after including windows.h file #include < ...Show All

  • Visual Studio Deployment problems

    How do I get the my Windows app's setup.msi to install CR on the target computer I followed the steps described in Creating a new Windows Application Deployment Project with Windows Installer , and added my app's primary output to the Application Folder. But I really see no place that specifically describes how to add a CR component that will install the necessary CR files. When I build my app's Setup project and copy the output (setup.msi and other files) to the target computer and execute setup.msi, my app gets installed, but not CR. I can get setup.exe to do the job, if I go to Properties->Prerequisites... and turn on "Create setup program to install prerequisite components", and then select "Crystal Reports f ...Show All

  • Visual Studio Arithmetic result exceeded 32 bits

    Have a client who generated a 382 page report to a report viewer. Once the report is rendered to the viewer a dialog pops up which states: Arithmetic result exceeded 32 bits After clicking OK to the dialog, the information is cleared from the report viewer and the same message appears in the report viewer. The report can be filtered by a unit, and the report report is generated without incident when filtered (which of course produces less pages). The problem only comes along if the report is not filtered by unit. I'm not even sure where to start looking in order to resolve this as I cannot reproduce the error in house using the client's data. Any suggestions would be greatly appreciated!! Jim ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Garbage Collection

    Hi. I'm not a game programmer yet but I'm a programmer. I have been learning computer graphics (opengl) at school and while I was talking to one of the professor was referring to Java as the main problem is that the garbage collection does not permit it to be real time. I know that the .net framework which I use quite often has garbage collection as well. The problem with garbage collection is that you (the programmer) does not know when it will happen. My question are 1) Is Xna going to have garbage collection and 2) if it will have garbage collection, wouldn't this make a video game slow thanks Francisco Fancisco, A couple things of note: Since the entire product is based on the .NET Framework, g ...Show All

  • Visual Studio Express Editions how some help fix my code?

    'Create a new MailMessage object and specify the"From" and "To" addresses Dim Email As New System.Net.Mail.MailMessage(" From@abc.com ", " To@abc.com ") Email.Subject = "test subject" Email.Body = "this is a test" Dim mailClient As New System.Net.Mail.SmtpClient() 'This object stores the authentication values Dim basicAuthenticationInfo As _ New System.Net.NetworkCredential("username", "password") 'Put your own, or your ISPs, mail server name onthis next line mailClient.Host = "Mail.RemoteMailServer.com" mailClient.UseDefaultCredentials = False mailClient.Credentials = basicAuthenticationInfo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. before this gets deleted ...

    Can anyone clue me into where I can look up the proper forum to ask a simple Direct X question Quite simply, I want to know what version I am running. Not a developer, just an end user trying to get a camera working for video chat. Searched the forums, searched the Win XP help files ... nothing even close to answering this amazingly simple question. (Perhaps it's too simple to merit posting an answer Regardless ... I'd like to know how to do it.) Windows help even refers to a "DirectX Diagnostic Tool" that as far as I can tell ... doesn't exist on my system. Win XP has Direct X installed already as far as I know. How does one: 1) check the version 2) upgrade if needed Again, if this is not the proper ...Show All

  • Visual Studio Buying Visual Studio

    I was searching the VS site and was wondering, Is it possible to buy only the Visual C++ 2005 Profession part of VS 2005 Hi Keith, I'm afraid thats not possible. The closest you can have is Visual C++ 2005 Express Edition which is a free download. The complete catalog is out here : http://www.microsoft.com/products/info/default.aspx view=22&pcid=515c9859-958b-4433-b4f9-91f37258ca2f Hope that helps, Amol. ...Show All

  • Visual Studio Express Editions Printer Queue Control

    Hi, My problem is the following: In a place with 20 PC all in a network but no central server (like cyber caffe) they all print in only one of the PC. I have to pause the printer to control it. What i want to know is: Is it possible to capture the queue with a program so I just send the jobs I want to the printer and hold others Right know using the Windows Prnter control window I can change te priority but after disabling the pause all documents are sent to te printer sooner or later. Any ideas Hope I could get myself clear. TIA nowhereman1960 nowhereman1960, There is an article titled How to monitor a printer queue rom VB.NET is exactly you need, please take a look at the fol ...Show All

©2008 Software Development Network