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

Software Development Network >> Dave Koehler's Q&A profile

Dave Koehler

Member List

Anton Papst
Meltdown61
PSal
krhoover
Mike Greenway
Annihil8
Leonard51607
sreejith s
hypo
sroughley
smithsf22
Izhido_
Roy mm
Jamie Thomson
Dracosveen
Ankith
PublicError
EMSDeveloper
Jacquipre
code911
Only Title

Dave Koehler's Q&A profile

  • Windows Forms A challenge. Text to binary, and back.

    In my windows forms application I need to develop a method to convert a string to binary and then back again. This is going to be a simple way of user authentication to secure the data. Aside from that conversion I will be doing another conversion with it to secure it even further. The only part I need to know how to do is the binary to text and back. Here's my logic: User inputs password -> Converts to binary -> my conversion -> finalized password User retrieves password -> my conversion -> converts to string -> original password Okay, it displays the full byte array in the second text box like it is supposed to. Now I am having problems getting its string value from the text box content. (This binary data is goin ...Show All

  • SQL Server Database conversion from SQL Server 2005 to 2000 is not working

    hello friends, i am facing a problem in SQL Server 2005 Express Edition. The database created in the SQL Server 2005 Express is when opened in SQL Server 2000, it changes the data type of all the columns of all the table to text type. can anybody help me Hi. Thanks for the Suggesion. i need to use sql server 2005 database in SQL Server 2000. Is there any other way ...Show All

  • Visual C# Convert string to operation

    Hi! Is it possible to convert strings to operations in a relatively simple way For example convert this string: string OperationInString = "3+3+9"; somehow, so I get back "15". Thanks in advance. ;) This is working fine for most of the operations, except operations like (1280-2)/2^7. It is replacing ^ with + sign and calculating the result. How to access scientific operations using the same example Thanks, Sreevi ...Show All

  • SQL Server Fixed Header in Reporting Service 2000

    I want to create a report with SQL Server Reporting Service 2000 where I need to have a fixed header and one fixed column containg names of each row items. I tried to find "Fixed Header" property in table but could not locate it anywhere.Can anyone please kindly tell me where should i look for it Or how to achieve this functionality Thank you in advance. Bharat Gadhia. ...Show All

  • Visual C# Array of TextBox !!!

    Hello, Does anybody know if we can have array of TEXTBOX inVisual C# 2005. Thanks another option to work with TextBoxs through Controls collection foreach ( Control crl in this .Controls) { if (crl is TextBox ) { TextBox txt=crl as TextBox ; Debug .WriteLine(crl.Text); } } ...Show All

  • Visual Studio 2008 (Pre-release) Displaying DataTable in run-time

    Hi, I've got the following issue: My application is intended to show any table from the database. It means that the structure of the table is only known in run-time. I looked through the samples, but all the examples contain DataTemplate definition in XAML file that is not my case. I browsed the documentation but did not manage to fing the way how to create DataTemplate programmatically. Are there any ideas how can I display a table when its structure is only known during runtime. TIA remove the highlighted line GridViewColumn gvc = new GridViewColumn (); gvc.Header = "column0" ; Binding b = new Binding (); // b.Source = ds.Tables[0]; b.Path = new ...Show All

  • Smart Device Development cannot establish network connection

    Good Morning, I have written a very simple web service and I cannot connect to it. However, I can connect to it via the brower and from the Reference.cs of the project.  Yes it does what it is supposed to: Add two numbers . I added the web refernce the same way I would if the was a asp.net application. Right clicking References then Add New Web Reference. Below works fine from Reference.cs public MathService() { this .Url = http://172.17.110.122/MathService/MathService.asmx ;} This does not work fine from Application: using Math.WebReference; MathService myMath = new MathService (); private void button1_Click( object sender, EventArgs e) { label3.Text = "result = " + myMath.Add ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. D: Drive

    I tried to start Space War and I get a FileNotFound exception. It will not even run to the first line of the program. Note I have Windows and Visual Studio Express installed on my D: drive and not my C: drive. Hey Chris anything unusuall about your setup What compiliers do you have installed and what are your drive letters ...Show All

  • Software Development for Windows Vista Activity Naming standards

    In a WF all activites have to have unique names. Was the concept of naming containers considered In my State Machine WF for example I have several places where I use SetState activities. Say I have 5 places where I use SetState to target a ProcessOrder State. I am not able to name all 5 activites SetStateProcessOrder, yet they all are used to do just that. I have found myself adding a suffix of the parent State or Activity name to all of my activies to emulate naming containers. I dont really like my solution. I would prefer something like that to happen for me automatically. Is there any guidance on Activity naming Perhaps some proposed standards We are using the same model as a Windows Form or User ...Show All

  • SharePoint Products and Technologies new default template for mySite

    Hi All, how can I update the default template for new mySites After studying the "Office SharePoint Server 2007 Administrator's Comnion" I see only a programaticly approach (the Object model). Is there any possibility for customers to modify and "save as default" Thanks in advance, Jens I have the documentation for this but have yet to find the time to install this. This forum is dedicated to Knowledge Networks though and im not sure why you posted. You may find a faster answer if you post your question in the General Questions and Answers forum. Im sure some of the other people that contribute to these forums have attempted this and will be of better assistance. ...Show All

  • Microsoft ISV Community Center Forums Argument syntax problem

    I have a problem with the syntax of my code. I first have a loop that checks if an object in the selection is a chart. If it is a chart then it passes that chart on to a sub as an argument. In that sub changes are made to the chart in therms of style, size etc. My code: Sub arrayLoop() Dim obj As Object For Each obj In Selection If TypeName(obj) = "ChartObject" Then Call linjeDiagramKnapp(obj.Chart) End If Next End Sub Sub linjeDiagramKnapp(argChart As Object) Dim mySize As Double With argChart.Chart .ApplyCustomType ChartType:=xlUserDefined,TypeName:="Standard" With argChart.Chart .Height = 150 .Width = 150 .Top = 100 .Left = 100 End With My problem is that I do not know how to write the part of the code referring ...Show All

  • Windows Forms How to have only a single instance of form running

    Hello guys, I have a Winforms application written in managed C++. I would like to only have one instance of my application running on a given system at a time. The reason being opening another instance of my form can really mess up the environment I'm working in. How can I do that I'm guessing it wont be very hard to do. Appreciate your help!! Figured it out. The mutex was being prematurely discarded on other systems (strange). Anyway, I added a GC::KeepAlive(mutex) to keep a hold of the mutex as long as its running. It works like a charm now. ...Show All

  • Visual Studio Team System Unable to connect to remote server

    Hi, I've recorded a web test and ran it on my machine. It works well. When I tried to run the same web test on a different machine, it gives me an error "Unable to connect to remote server". Any permission issue Thanks much in advance. It's a much better idea to specify your proxy server by name rather than with "default". Using "default" WILL dramatically limit throughput during load testing. Josh ...Show All

  • Visual Studio Team System Can I use the XML/XSD schema as a source for data genaration?

    I have some XML/XSD schema which has table definition. Can I use this schema in place of the RDBMS table for generating the data And is it possible to have this data generated in the XML file Right now we either reverse engineering the schema from database or import it from Sql Script. And there is no direct way to import the schema from XML/XSD. A workaround is that you can write your code to create sql script so that it can be imported. For data generation, there is no direct way to generate data into xml file. You can generate data into the database first and then export them into xml file. Thanks, ...Show All

  • Windows Forms Stupid problem with a Label in a statusStrip

    Hi, i have a label and a progress bar in a statuStrip in my RSS Reader application. I want that a message like "Update in progress" is displayed in the label during the update of the RSS feeds. So, before i start the update, i simply set: statusLabel.Text="Update in progres..." and, when the update is complete, i do: statusLabel.Text="Done". The problem is the message don't appear! I've tried to change the label text in other parts of the application, and it works. I've tried also to change the message "Done" with something else, and it displays it. But there is nothing to do, when i press the refresh button of my application, the label text still remains "Done". What can i do The progress bar near the label works perfectly too! The crazy ...Show All

©2008 Software Development Network