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

Software Development Network >> Harry Pfleger's Q&A profile

Harry Pfleger

Member List

Seas Comander
Willybood
Dvlnblk
Danny Tuppeny
gafrank
GMan5309
Sqnyy
Johnathan Seal
SOAC
Alessandro Camargo
Sean_Sinclair68127
Xcel
exulted
SaravanaKumar
SQLBOY36
Erick-Flores
Sam Jost
iamAlan
Espriella
Flydsp
Only Title

Harry Pfleger's Q&A profile

  • Visual C++ Reading CSV data from a byte array

    I'm writing a C++/CLI (vs2005) app and would like to read in CSV data from a byte array. Is there any .Net classes that I should be using to read the CSV data If not, what are my options Charles Tam wrote: The byte array contains csv data. Then I don't understand why you are saying it is a byte array; it seems to serve no purpose except to confuse. ...Show All

  • Visual Studio Express Editions open a file

    hi guys can someone please tell me how to open a text file in my application it is named .....contacts.txt it is stored in notepad.... and I find these help files absolutely useless... I want to click a label to open this file.....either by opening notepad. or to open in my form thanks cheyenne You could also try this: Dim textString as String FileOpen(1, filepath, 1) FileGet(1, textString, 1) FileClose(1) textbox.text = textString ...Show All

  • Visual C# Any tips for locating type info file for COM objects?

    Hi, Right now I'm trying to figure out how to get the IDockingWindowSite interface to be available to my C# project. I don't know what file contains the type info that I can import from. The VS IDE has the object browser you can search, but it looks like this only searches loaded types that it knows about. I've ran into this problem before. Please share tips on how to figure this out. Thanks Hi, You can also develop it in C++, then reference the com component in C#. Here is some useful info: http://www.andymcm.com/csharpfaq.htm http://msdn.microsoft.com/msdnmag/issues/02/08/CQA/ http://www.codeguru.com/csharp/csharp/cs_misc/com/article.php/c9065/ Thanks ...Show All

  • Software Development for Windows Vista Recover Vista Installation?

    Hello, I didnt know where else to ask this question. I had windows vista on a partition, and I installed XP in another partition, now I cant start vista, I had to install XP because Creative doesnt have full drivers for my sound blaster fatality sound card, So I will use Vista for everything and XP for gaming. The partition is still there but I cant log on on windows vista Do I have to install it again= is there a way to modifty the Master Boot record. to fix this I had the same problem with Vista and XP Professional. You can find the boot.ini file in your hard disk. My own boot.ini looks like this: [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partit ...Show All

  • .NET Development How do i update table with ID's from user input?

    I want to be able to input what rows (ID's) that should be updated in an UPDATE query. How would you create a UI for this task, and how should i build the query string My previous solution was this: - I created a bunch of textboxes (approx 20), cause i usually did not need to update more than 20 rows. - For each row i needed to update, i filled in the ID in a textbox. Usually, there would be some empty textboxes left. - When clicking a "Update" button I ran a hardcoded a query, that took the values from the textboxes as arguments in the WHERE clause. Example (simplified) "Update Orders SET Status = 'Shipped' WHERE ID IN( "; + txtbox1 + txtbox2 + txtbox3 and so on. Of course, i controlled the data first, and ...Show All

  • Visual Studio Express Editions Datbase Search

    I am working with VB 2005 express to create an app that will connect to an Access DB. I have successfully been able to connect the DB to the app and can retrieve data as well. I would like to be able for the user to Input text in a textbox and click a button to perform the search. I am unsuccessful with coding the button to retrieve the records that fit the criteria. If have any solution please could you help me out. Well, I believe it doesnt matter what control you use as long as it supports databinding. Your data details, obtained from a datasource such as SQL, will always be stored in a dataset/datatable. You will be "filling" the data or querying the data from the dataset and then binding ...Show All

  • Silverlight (formerly WPF/E) WPF/E and Virtual Earth on the same page

    Has anyone tried putting WPF/E and the Virtual Earth control on the same page I can't get it to work in IE7 It works fine in IE6 and Firefox on the same machine. The code is really simple, just 2 divs, one containing the VE control and the other contains the wpf/e control pointing to a very simple xaml file. When the maps loads, the canvas goes blank. Anyone seen this The code for the page is shown below: <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-ransitional.dtd "> < html > < head > < meta http-equiv ="Content-Type" content ="text/html; charset=utf-8"> < script src ="js/aghost.j ...Show All

  • Smart Device Development DAAB for Smart Device Application

    Hello Experts, Can we use Data Application Block to communicate to the Sql Mobile in a Smart Device Application, is it compatible to System.Data.SqlServerCe Regards, Suman Ghosh Hi Suman You should consider using the 'Mobile Client Software Factory ' as this is designed for mobile applications. Michael ...Show All

  • Visual Studio 2008 (Pre-release) Using the "Windows" key on the keyboard to minimize WPF windows ...

    Whenever I use the "Windows" and "D" key combination (which brings the Windows desktop into view), my WPF application's windows all get minimized. But I do not receive a window state change notification, and the WindowState property does not change either. Is there something I'm missing Hi Hamid, just try this code: using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; namespace WindowsApplication3 { /// ...Show All

  • SQL Server SQL Agent Trouble.

    I have spent all day reading microsoft material and reading through this site to figure out what is wrong with my schedule job without success. I have come to the point where I can't take it no more. Would someone pleaseee help out a sister This is the situation: I created a very simple package on my server A. This package pull data from server B and load into server C: B====> C I deployed and copy and install the package successfully to the target server c. When Now, I can run the package from either MSDB and file system storage. My problem is when I schedule this package. It failed with the log below. All my server are on the same domain and I have a domain account. When I schedule and run the job with my domain acco ...Show All

  • Visual Studio Team System TFS Migration to a new server

    Has anyone been successful in migrating a TFS server to a new machine with a new name We are currently still using the RC, but I was surprised at some of the problems I had during a migration. Specifically Sharepoint, I don't know if its been improved with the RTM, but the restore procedures I saw were just wrong. The 1st trial I did had Sharepoint completely messed up. I finally fixed it, but it took my own understanding of Sharepoint, not the backup\restore procedures provided on msdn. Has anyone else had these issues I'm sorry about the delay in getting back to you, job change sort of had me preoccupied. Short answer, no you can fix it but its not all that nice. Long answer, uninstall TFS, delete the databases (make sure yo ...Show All

  • SQL Server Which algorithm is better for customer retention

    Hi Pl any one tell me which algorithm is better for Customer retention Using SQL server 2005 analysis services It will be great if some one can give the same with example of data model with key column , and rest Thanks in Advance Rajesh Ladda Usually you would use Decision Trees for retention, although you may try Naive Bayes or Neural Nets. You model would contain all information about customers and whether or not they "left". You should probably randomly pick an approximately equal number of people who left and people who stayed to get the best results. You model would predict the field indicating whether they left or not. ...Show All

  • Software Development for Windows Vista Page Limit?

    Does anyone know whether there is a page limit in an XPS document I have created a 10,000 page XPS document printed with the Microsoft XPS Document Writer from Crystal Reports XI. I can open this document in the XPS viewer with no problems. However, when I create a 100,000 page document using the same package, the XPS document does not open in the XPS viewer and the memory use on my computer jumps and keeps on rising. I am working on Windows XP. Any ideas, anyone The problem you're experiencing is a bug in the implementation, not the limitation of XPS format itself. This will be considered for a future release. If you're blocked by this issue, try to write or find a tool which can repair ZIP files. ...Show All

  • Windows Forms [C#]Datagridview copy/paste from a row to another row

    Hi all. Before opening this post, i've already spent a lot of time looking for solution to this problem over the net and over this forum :( I only need to copy some values in a datagridview row, and paste over another row of the same datagridview. Thx a lot in advance at all :) Bye and have a nice day, RaouL. Hi. First of all, do you only need to copy within your application If the answer is "Yes", you could do away with using the clipboard and set up some kind of buffer in memory. You would copy the data under your copy event into the buffer (if other things like cell formatting are required, you would handle the various formatting you would need in separate buffers, sort of like layers in a ...Show All

  • .NET Development How to handle data in different tables?

    I was wondering if someone could point me to a tutorial that might help me I have an application that I'm developing that will display a tabbed form which needs to contain data from different tables. For example, my database has a contact table with typicall information and then it also has a lead table which contains information if the contact is a sales lead. They are linked together by a common contactID column. There are a few other normalized tables also like an AlternateAddress table. My first problem was that I could only get the binding source to connect to a particular table. This was a problem cause the data that I need to modify is normalized across a few different tables. My solution to that problem was to create a view ...Show All

©2008 Software Development Network