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

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

Whitehorseq

Member List

coldflame
pdq2
JMOdom
mnowinski
kbabaria
Yozz
jdcal
Kristian PD
DouglasJB
MikD454
MattC_UP
Michele_T
PMace
The_Assimilator
amreg
New Programer
SlashSlash
AntonieB123
Jose Garcia
JD81
Only Title

Whitehorseq's Q&A profile

  • .NET Development Error with serialPort class

    I'm having problems with configuring my serial port object. I'm trying to communicate with a PIC18F458 and I have declared my serial port in the program as: serialPort = new System.IO.Ports.SerialPort("COM1", 19230); But when I run the code, I keep getting the error: A first chance exception of type 'System.IO.IOException' occurred in System.dll And when I display the error message, I get this: Error: The parameter is incorrect. Even if I set it to 19200 or other values, I still receive the same error. But if I print out the baud rate, it prints out what value I set. However, it's the only pi ...Show All

  • SQL Server exposing proprietary data to SSIS (Newbie alert)

    Hi all, I've exposed my data (that exists in a proprietary format) with the ADO.NET provider interfaces (IDbConnection, IDataReader, IDbDataAdapter and IDbCommand). I can't seem to find any examples of how to get Integrated Services to hookup to this .NET code in my class library. Is it possible My goal is for this provider to be both a destination and a source and for others to be able use IS to manipulate the data however they want. Some links or examples would be great. Thanks, Dave I believe the way to do it these days is to inherit from the newer DbConnection, DbCommand base classes that t ...Show All

  • Visual Studio Express Editions Wot to write in order to find the maximum number?

    I wrote the following : int r; foreach(TextBox t in panel1.controls) { r=rnd.next(100); t.text=r.tostring(); } my aim is to randomize numbers for 5 textboxes in a panel and then i want to show the maximum number in a separate textbox called tmax. WHO CAN HELP hi, i guess you can do that by using variable something like this int r; int max = 0; foreach(TextBox t in panel1.controls) { r=rnd.next(100); if(r>max) max = r; t.text=r.tostring(); } tmax.text = max; hope this helps ...Show All

  • .NET Development DirectoryInfo and System Volume Info

    I am attempting to retrieve all of the (*.mpeg,*.mpg,*.avi, etc.) movies on a harddrive and return that as an arraylist. When I do so on "C:\\" rather than "C:\\specificFolder\\" it throws an error (some sort of protection level or something ). How can I find all of these files without throwing an error ... can't find a way to exclude Sys Vol Info or another folder (C:\windows prob fails) from the search. Any ideas Hi, Can you post some code on how are you retrieving the list of files Probably we can spot which part is causing the problem. Thanks, -chris ...Show All

  • .NET Development embedding application?

    Hi. I did not know which forum to post this in so I apologise I was wondering in .NET if there is a way to embed an exe application on a webpage (ASP.NET) using .NET 1.1 or 2.0 I have googled about trying to embed applications into html/webpages but nothing came up. Those applications are run inside the web browser as ActiveX components, and thus not ASP.NET applications at all.  So yes, you can do that, but you'll have to create your application as an ActiveX component that can run inside the browser. HTH, PEte ...Show All

  • Visual Studio How to hide a SubReport programmatically?

    Hello, We have 4 subreports on one rdlc file. The user can select any number of reports to display. How can we hide or display the selected subreports Since we have all 4 subreports in one rdlc file, the un-selected subreports display "Error: Subreport could not be shown" Please help. Thanks. What you can do is to associate the "Visibility" property of the subreport to a parameter you can set in the report. By assigning true or false for each parameter corresponding to each subreport, you can show or hide each subreport. ...Show All

  • Visual Studio Team System Recreating Team Project SharePoint portal for existing Team Project

    Here's the problem: We erroneously installed SharePoint Services with the MSDE database in Beta3 Refresh and have recently upgraded to RTM. Our old Team Project moved over fine but now that we have SharePoint Services installed correctly (i.e. no MSDE database with the SharePoint databases stored in Yukon) our Team Project portal now doesn't exist. Is there any way we can re-create the SharePoint portal for an existing Team Project We don't care about any of the old portal information...Thanks! Hi Michael, First download the template that the project was created with MsAgile or CMMI. You will need the d ...Show All

  • Visual Basic Need Your Help in Visual Basic Forums

    Hi , Hope you all are fine. Actually Situation is that i have 2 Forms. One is the main Application Form and other is like splash screen like form. I dont want splash screen form to be auto hide after some seconds. As there is some data i want to show to EnD uSer. i have added a check box on Splash Screen Welcome form. Checkbox : "Dont Show this screen in Future" Now i dont know when user checks this Checkbox and opens the application how can i save these settings. That this splash screen doesn't show itself in future. And in Application Options if the user selects that splash screen should appear at the start of application h ...Show All

  • Visual C++ Lost all visual style on UI controls after importing to VS2005

    Hi, all I had an old project created in VS.net 2002, (native code, c++), it builds/runs fine. After I imported it to VS 2005 B2, it lost all visual style on the UI controls, as if it were running on Win2k.. Is there a setting somewhere I can change to bring by the visual style Thx Not sure about beta 2, but in RTM add this to an include file in your project (typically stdafx.h) #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") ...Show All

  • SQL Server stored procedure that performs a search is too cumbersome

    Hi I am new to this forum. I have a stored proc that conducts a search based on a number of parameters entered by the user. The way I am currently building the procedure is the following, this is one segment of the if/else structure: ------------------------------------------------------------------------------------------------------------------------------ --If latitude, longitude or distance are null and ProjectID and AnalysisTypeID are not NULL ELSE IF (@i_Latitude IS NULL OR @i_Longitude IS NULL OR @i_distance IS NULL) AND @i_ProjectID IS NOT NULL AND @i_AnalysisTypeID IS NOT NULL BEGIN SELECT Distinct Projects.ProjectName, ...Show All

  • .NET Development merge dataset with three tables

    I have two datasets and each have three tables in them. Datasets have the same structures and I need to merger these two datasets, (so each table should be merged with its corresponding) how can I do this The Dataset.Merge method may do what you want: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemdatadatasetclassmergetopic7.asp You could choose one of the datasets as the "source" and one as "destination". Then for each table of the 3 tables in the source, call destination.Merge(...) Have you given this a try ...Show All

  • Visual Studio Team System Error while generating 'Bug rates' report

    Hi there,    I'm getting the below error while generating 'Bug Rates' report for my Team projects. Any  idea anyone Thanks, Anu An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'AreaPathPath1'. (rsErrorExecutingCommand) Incorrect syntax near 'Measures'. Incorrect syntax near 'WorkItemType'. Hi there,     I am still waiting to get help for this error, We are going to have our server installed for VSTS client to use team wide, but before that it would really great if we could make reports work. Thanks, Anu ...Show All

  • .NET Development io.networkstream encoding

    Hello, I'd like to ask how can i set the current encoding property to the streamreader I mean i am receiving a stream from a pop3 server and i would encode it into central european charset. how can i do this Dim respond As String respond = read.ReadLine() and i want respond to be encoded in unicode... how can i solve this thnx for ya help You can use System.Text.Encoding.Convert method to convert from one encoding to another Mariya ...Show All

  • Visual Basic Random Numbers

       I'm realy green when it comes to programming but I like to think I am learning quickly. However, I cant figure out how to generate a number of random numbers baised on the vailu of a numeric slider. So for example I am generating a number between 1-12 where each point of value for the slider would generate an indiigual number that can all be added to a final total. I would also like to be able to back the slider down to a previous number and have the same total I had last time I was at position x. This is what i have so far: If levelHP = 1 Then hpcalcbarb = ConBonus + 12 LblHpTotal.Text = hpcalcbarb Else ...Show All

  • Visual Studio Team System Compare Utility should Ignore White Spaces

    The Compare Utility should have options for ignoring leading and trailing spaces/tabs. Right now if I had someone who checked in something with 4 spaces set for their formatting of their code, and I have mine set to 3 spaces, then the compare will become usless because every single line will be considered different. if it doesn't ignore blank lines, that should also be an option as really, I just want to see what CODE has changed. Brien King brien@classic-soft.com A few people prefer old-school WinDiff. Most guys on my team use an internal tool from the Office team that's kinda like WinDiff on steroids. I prefer 2-p ...Show All

©2008 Software Development Network