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

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

prodonjs

Member List

cliffski
Old Mortality
Harrympower
Jason N. Gaylord
Krutika
centexbi
Nguyen Duy Linh
mrbelk
WoodPeckerKing
lance p
Attila Fogel
matthew lyden
Mykhaylo Blishch
Deepu_a
simurg
Gravy
divya mittal
Ted.
CrackWhiz
Pedro Felix
Only Title

prodonjs's Q&A profile

  • Visual C# Button Madness (one of many posts to come)

    I know I should have been more descriptive in the subject, but the question is too long to fit. I'm trying to make a charicter creation application for a RPG. I want to have it so that when a person clicks the + button (button2), it will subtract one for the remaining points which is displayed in label20, add it to the Strength score (int Str) and then display the modified Strength in label11. Next, I have a subtract button (button10) that does the same but adds one to the remaining points and subtracts 1 from the Strength score (int Str) and displayes the remaining points and Strength in thier appropriate label boxes. To complicate matters worse, I have to 1: have to do this for 7 other stats, which none of them can go lower than ...Show All

  • .NET Development Network Stream Read Progessive Slow Down Issue

    I have an issue with reading a byte stream from a NetworkStream created from a TcpClient. The client application is sending and recieving information from the server app, however as each communication occurs, the time needed to read the first byte from the server slows down exponentially. I have used a loop that continues checking the NetworkStream object's DataAvailable property, and that is where the slow down is occuring; it takes longer and longer for the stream to become available. The server app does not have any slowing to its code causing this error. It loads an .net XmlDocment object and saves it to the network stream, and then writes a 0 byte to the stream. The time growth is exponential, which leads me to believe it has someth ...Show All

  • Windows Forms icons on command buttons

    Hello! Can anyone please explain to me how can I assign icons to command buttons, in order to make them look more intuitive When you want to use an Icon as an Image, you create a new instance of the Icon object, passing the path to the icon as an argument, and then call the ToBitmap() method of the Icon to get an image. eg. Dim ico As New Icon("c:\test.ico") CommandButton1.Image = ico.ToBitmap HTH ...Show All

  • .NET Development OpenFileDialog Bug?

    Hi all, I am not so sure if it is a bug, or it's me-the-bug... The following code works OpenFileDialog dlgFile = new OpenFileDialog(); dlgFile.Title = "Select a report file"; dlgFile.RestoreDirectory = true; dlgFile.AddExtension = false; dlgFile.DefaultExt = "rdlc"; dlgFile.Filter = "Local Report File(*.rdlc)|*.rdlc"; If I change the last line to dlgFile.Filter = "Local Report File(*.rdlc)|*.rdlc | Remote Report File(*.rdl)|*.rld"; I would have a dialog that I can select either *.RDLC or RDL file type. However, the files are not listed on the dialog's body. It only gives me a list of sub-folder. Is this a ... bug, or it is my code th ...Show All

  • SQL Server Parent Package variable assignment issue in Child Package.

    We have one main package from which 7 other child packages are called. We are using ParentPackage variables to assign values for variables and database connections. While the values from ParentPackage variable get assigned to some of the packages properly, to others it doesn’t assign the value. For example: Except for one of the packages the database connection string gets assigned properly to all other packages. Similarly, in another package one of the variables doesn’t get assigned. In other packages it is assigned properly. We have checked all the other property values and they are exactly the same. We cannot make any head or tail of this erratic behavior. Please Help. The only known issue I am aware of i ...Show All

  • Visual Basic Simple data access to access

    I am trying to learn using vb.net express. I have a single form with a single button. the button exectues this code: Dim constr As String = "Provider=Microsoft.Jet.Oledb.4.0; Data Source=d:\mydocs\db1.mdb" Dim conn As New OleDbConnection(constr) Dim dt As New DataTable() Dim cmd As New OleDbCommand( "select guid from table1 where company = 'sspi'" , conn) conn.Open() Dim dr As OleDbDataReader = cmd.ExecuteReader() dt.Load(dr) Now I want to have a msgbox that reports the results from the select statement. How do I do that What is the return object That is correct there should only be a single value returned for this query. ...Show All

  • Visual Studio Rational Clearcase plug-in for MV 2005

    Can any body give me the link to rational clearcase plugin for microsoft visual studio 2005. The problem is: when i open any c++ project in visual studion 2003.net and when I right click on any source/header files, I get the "Check out/ check in" option from clearcase but when i do the same in visual studio 2005, I don't get any "check out/ check in" option on right click. Does anybody know what's going on and how to solve it. Thanks Jimi Make sure Clear Case pug-in is selected in Tools->Options->SCC->Plug-in Selection If you can’t find Clear Case plug-in then you need to reinstall Clear Case on this machine or perhaps check with Clear Case folks for directions. Open File->SCC->Chang ...Show All

  • .NET Development FtpWebRequest MKD fails

    I'm trying to create an application that will automatically upload files to our Akamai content delivery network via FTP. One of the requirements is that if the local source directory contains a new directory that does not exist on the target FTP server I need to create it. Unfortuantely everything I've tried for this gives me back the dreaded unspecified 550 error. Example: say I have two uris to my ftp server, the first representing a directory that DOES exist already and the second representing a directory that DOES NOT exist on the remote server. try{ string[] uris = new string[]{"ftp://accname.upload.akamai.com/10000/existingdir", "ftp://accname.upload.akamai.com/10000/newdir"} foreach(string uri in uris){ ...Show All

  • Windows Forms Custom control for time editing

    Hello. I need to implement a custom edit control for entering a time in the format: Hours:Minutes:Seconds where Hours can be 0-65535, Minutes and Seconds 0-59. I need a spin control (up down arrows) like in the standard DateTime control as well. I want using msctls_updown32 spin control, 2 static controls for displaying collons and 3 edit controls with custom key down handlers. I believe it is like the Windows has its own control implemented. My problem is that i failed to find how i can create a window/control by the class name. Please advise how i can do it. Thank you. Are you using System.Windows.Forms to implement your control If not, post in the C++ General forum. ...Show All

  • Visual Basic ClickOnce question

    dear all, Any link or even a fast explanation would be very appreciated regard to “ClickOnce” stuff. Thanks in advance for your support, Ok, thanks.It's useful for me. I began to wonder myself when I saw on my vb 2005 Project in the Properties page security stuff about ClickOnce, fully trust, partial and so forth. ...Show All

  • SQL Server Inserting to Dimension on Failed Lookup

    First, I'm very new to SSIS, so forgive any stupid questions. I'm trying to normalize some data by creating rows in a dimension table as I find new values in the original table. My first thought is to use a Lookup to replace string values with id's to the Dimension table, and when the Lookup fails, insert the value into the Dimension table with a new key. Does that make sense This would be relatively easy to do with TSQL, but surely there is a way to do this in SSIS. Thoughts Thanks! I will read that thread... Responding to your suggestion, however, I can't use a default value because if the lookup doesn't work then a new record needs to be inserted into the Dimension table. For example, if my row has "XXX" as a value and ...Show All

  • Audio and Video Development How do I play samples?

    I am unable to play the samples (included in the HD Jumpstart download) with the emulator. I've tried using both open disc and open path to launch the DAT file. When I use open disc is says unable to parse/read the DAT file. When I use open path I get no message, but the emulator screen resizes slightly and stays blank. Hi, i've been trying to run the jumpstart kit but something doesn't work... I have this problem: "When I use open path I get no message, but the emulator screen resizes slightly and stays blank." I can't play the samples. I was using two monitors, but I have tried it also with one and it also doesn't work. I have run DXDiag - Direct Acceleration is activated... and all test run ok. My Graphic card is: A ...Show All

  • Windows Forms 'Fastest' or efficient way of checking/comparion for duplication records in listview

    Any suggestions on an efficient way of comparing records in List for duplications Thanks. Regards Alu The best approach is while you add Item to the list check for if it exists. One of the suggestion is to use classes like datatables with constraints , name value pairs, dictioniaries etc... that restrict you to put in the duplicate values. If you dont have control of items in the datasource, then you have to investigate the each item for the duplication. May be you can use some of the generic list methods like .Find<> , Contains<> etc... ...Show All

  • Software Development for Windows Vista Error is not jumping to Fault Handler Activity

    Hi, Ive thrown an ApplicationException from my workflow as the following; private void codeActivity2_ExecuteCode( object sender, EventArgs e) { throw new ApplicationException ( "error" ); } and this exception is catched in Fault Handler Activity; this .faultHandlerActivity1.FaultType = typeof (System. ApplicationException ); But When the workflow is executed, the Exception is not jumping to Faulting Handler Activity. Instead, VS.NET 2005 is raising the Error Dialog box. "An Exception of Type "System.ApplicationException" occured in "WFApp.exe" but was not handled in user code. Additional Information : error According to my WF web casts, it is supposed to jump to Fault handle ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I want to learn how to draw sprites with C#!!!!

    I need help drawing sprites in C#!!!!!!!!!! Any Help..... Any Code..... ...Show All

©2008 Software Development Network