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

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

NathanInNashville

Member List

martin kaldma
osamaT
http://www.ilkon.com
Don 216
JeffK_
Petr Horinek
Ashishkalvade
robinjam
Grae Foster
bernb
David N.4117
gmaenrile
aharuray
plinius
Ken Villines
Barzot
40th Floor
Simone1
Jon Braganza
McWhirter
Only Title

NathanInNashville's Q&A profile

  • Visual C++ How to use ASCII to some fromat

    I have a device If I want to Command: (PC) ->device its' format is STX + NAD + LEN + INS +{DATA} + LRC (the Type : ASCII) STX : 02H NAD : 01H I gauss they can use (System::Text::Encoding ^chr) STX = chr->GetMaxByteCount (02); ,is right NAD = chr->GetMaxByteCount (01); I see VB language STX = chr(02); So I gauss !!!! INS:Instruction(In Hex format) ,it has a form, example: when INS = 09 then do something If I gauss wrong, how can I to do well Thanks for your help!!! I assume you're using the SerialPort class. Try something like this: #include "stdafx.h" using namespace System; using namespace System::IO::Ports; const int STX = 2; const int NAD = 1; int main(array<Syst ...Show All

  • Architecture Modular application development

    Hello... Being relatively new to large scale applicaton development I would like to ask if a) there is a simple way or b) there is a preferred way; to developing a modular application. What I mean by this is that I would like to create an base application which will be along the lines of a point-of-sale app. However, users can opt for (and pay extra for naturally!) additional "modules". For example, a reporting module, a stock control module, a restaurant module etc. Rather than simply creating separate application that interact, I wondered if VS2005 or the VB.NET 2.0 platform in general had a "perfect" solution to this hidden somewhere. Most importantly, the application needs the ability to be able to add a ...Show All

  • Visual Studio 2008 (Pre-release) Sql everwhere and WPF

    Has anyone sucessfully used the sqlce results set as the data sourse for a control on a wpf window or page do you know where I can find a c# example of this Thanks We solved the problem in this thread ...Show All

  • Windows Forms Unable to see windows form in designer view

    HI I have a windows application developed in VS2003 , now i need to migrate to VS2005. After successful conversion, My application is running fine as before. But i am unable to open any form in designer view. The error message I am getting is: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. Hide at System.Reflection.Module.GetTypesInternal(StackCrawlMark& stackMark) at System.Reflection.Assembly.GetTypes() at Microsoft.VisualStudio.Shell.Des ...Show All

  • SQL Server Concatenate Input Columns

    Hi, In my data flow taks, The Source data is coming from AS400 has 4 columns, I need to achieve the followings and require your help. 1. Generate a new column which will be combination of concating these 4 columns. 2. Need to add an extra row for Header & Footer. Please Help. Ahhh..I didn't think about that. Sorry. There is no way to guarantee the order. I've thought of another way actually. Use a single script component transform to add the header and footer. It will have to be an asynchronous component. Sorry for putting you on the wrong path. -Jamie ...Show All

  • Visual C# how to return null from a constructor

    say, i a m trying to do something like: class something something(streamreader){ if (wrong format or end of file) caller receives null as result else build object from what has been read in file } i tried 'return null', but it says it can not do that since a constructor is 'void', so i can not place a return sentence. i'm not sure something like this.dispose would retunr a null, since the 'dispose' may be asynchronous (or something) i have the next alternative class something blah blah somehting(string) (build object from string, check if string==null or wrong format before calling) static bool checkformat(string) check to see if string is adecuate to build somet ...Show All

  • Windows Forms Windows installer launch condition

    Hi Guys, I am trying to create a setup and deployment project in VS 2005 for a windows form project. A couple of dependencies for my application are - 1) .NET framework 2) ActiveState Perl 5.8.8 I have been able to successfully add the .NET 2.0 framework check to the launch condition. I've also added the Active Perl check but its not working right. I mean, I get a "perl not found" error even on systems where the perl is installed. How should I correct this behavior Its probably something in the Condition check that I'm messing up. Here are the properties I have for perl launch check - (Name) ActiveState Perl Condition Installed InstalllUrl <url> Message Perl could not be found. Please install ...Show All

  • SQL Server Row height issue on export to Excel

    Hi all, I've been having some problems with a report on export to Excel. I have four tables, contained within a rectangle at the top of the report, followed by a second page of tables dynamically generated by the data being fed into the report. On export to Excel, the top sections of tables appear to export with a fixed row height that does not show all of the string contained within the cell. I've had similar issues before with "title" textboxes, but these are usually easily solved by expanding the height of the box within the report. In this case, this hasn't worked! Any idea Regards, Jon If you have other tables at the same horizontal level, or other r ...Show All

  • Visual Studio Tools for Office C++ retrieving data from database.

    Hi, How come when I use C++ to read data from Access database, it only let me read up to 255 chars instead of all the text I have in that specific cell. What's the right command I have to use in C++ to be able to read all the text in the cell. Please help!! thanks in advance. Jason Hi Jason The "Office" in Visual Studio Tools for Office doesn't mean all Office questions are handled here :-) This is a technology addin for Word, Excel and Outlook... for VB.NET and C#. Nothing here to do with Access or C++. So the chances of your encountering someone who can help you are slim. Whether one of the Access groups such as http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.access.modulesdaovba& ...Show All

  • Visual Studio Team System TFS Builds and work items

    Is there any way to get TFS to create a seperate work item for each build error and or warning I hate having to trrack back the bug to the build report then magically I close one work item and all the errors in that build are fixed I would like to be more granular. Hi, i don't know...i got your question ...any how..the following url would be very helpful... You can get the clear understanding of how to create workitems when unit test or any thing failed...from Nagaraju palla's weblog ... http://blogs.msdn.com/nagarajp/archive/2005/10/14/481290.aspx Thanks, Kathir ...Show All

  • .NET Development Updating tables in access

    Hi there, I havent worked with VB much so i have a question I have a table (table1), with 5 coloumns in access. & I have a .txt file which is generated as a comma seperated values file, which is to be updated into this table. so i havea txt file heading1,heading2,heading3,heading4 col1,col2,col3,col4 i want to update this file in an access table, using the date/time(or u can say col4), all the records in that txt file later than the date/time of the last record in the access table should be added to the table. is there a way this can be accomplished in VB reguards Saad at the moment it is being stored as a date format, but i can change it to text, but i think that mig ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Collision Detection

    Ok, i know this has already been posted on but after going through that i still couldn't get it to work. So here's my code and plz tell me what's wrong. Texture2D _paddle1; Texture2D _paddle2; Texture2D _ball; Vector2 _paddle1pos; Vector2 _paddle2pos; Vector2 _ballpos; Vector3 _p1box; Vector3 _p1box2; Vector3 _p2box; Vector3 _p2box2; Vector3 _bbox; Vector3 _bbox2; BoundingBox bb1 = new BoundingBox (); BoundingBox bb2 = new BoundingBox (); BoundingBox bb3 = new BoundingBox (); SpriteBatch spriteBatch; _paddle1pos = new Vector2 (50, 300); _paddle2pos = new Vector2 (1000, 300); _ballpos = new Vector2 (400, 300); _p1box = new Vector3 (_paddle1pos.X, _paddle1pos.Y,0); _p1box2 = new V ...Show All

  • Visual Studio Express Editions How can i kill a process?

    o.k i i am trying to kill the iexplore.exe process what am i doing wrong here the code: Public Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ps As Process ps = Process.GetProcessByname( "IEXPLORE.exe" ) ps.Kill() End Sub i get this error: Error 1 'GetProcessByname' is not a member of 'System.Diagnostics.Process'. the funny thing is that the exact same code works with "getprocessbyid" tnx i just can't get it to work i will really appriciate if you will give me a full solution or explain to me what exactly is wrong with my code. tnx ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Raytracing with DirectX

    Can someone please recommend a few good resources for creating some basic ray tracing engine code for someone familiar with DX9 raster graphics. Specifically something with coding examples and how/where/when to use shaders in conjunction with ray tracing. Also, something that has been created/written within the past 2 years, not things from pre-DX8.1 days. Thanks. In general ray tracing and DX raster graphic have no overlap or any connection. There are some folk making real time ray tracing code that uses a lot of the modern culling techniques to speed things up and I wouldn't be surprised to find people using the GPU to do some of the processing. Some modern things I found with the help of google: ...Show All

  • SQL Server sqlexpress sa connection

    I am having the same problem described in the previous posts. Everything was working fine, then I got up one morning and everything was haywire. I am working on a web site and when I try to login in I get the error message Login failed for user 'SA' because the account is currently locked out . I went to my SQL Server and was able to log in using my windows authentication. 1. My Server was set up for Sql Server and Windows Authentication mode 2. Most of the database permissions for sa were gone. When I tried to adder use SA to any database role I got the error message Cannot use the special Principal SA (Sql Server Error message 15405) 3. I logged on to the server as SA and got the same results listed above. 4. I ...Show All

©2008 Software Development Network