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

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

Fox3

Member List

Thomas2054
redneon
shafiqm
Ben - ECM
carface
rako77
stiflersmom100
Grant Holliday
Mark Piontek
Holm76
dork
yuhatn
GaryTrip
braz
FredMunro
xinz
onkel elton
nub340
GG71
creaturita
Only Title

Fox3's Q&A profile

  • Windows Forms How to Bind DataTable Column to DataGridView Column

    In ASP.NET 3.0, WIndows form app I am trying to bind DataGridView columns to DataTable columns as follows: dsLine = sqlClass.getDataSet(strSQL, "dsLine"); dtLine = dsLine.Tables[0]; dgv.Columns[0].DataPropertyName = dtLine.Columns["descr"].ToString (); dgv.Columns[1].DataPropertyName = dtLine.Columns["quantity"].ToString(); dgv.Columns[2].DataPropertyName = dtLine.Columns["unitprc"].ToString(); On executing the lines above the program does not error out but the columns in the DataGridView are blank. What is the correct way to do this Many thanks, Mike Thomas If you want to add data in a dgv, you should add new rows. Columns is used to define the dgv's format ...Show All

  • Visual Studio Team System Issue installing Visio for Enterprise Architects from MSDN

    HI, I get the error message "You must first install one of the qualified Visual Studio editions" when attempting to install my MSDN version of Visio for Enterprise Architects. I have Visual Studio .NET Enterprise Architect 2003 installed. Why would i be having this issue What qualified edition would it be looking for Thanks James Howson Hello Joseph, Yes, Visual Studio 2005 Team Edition contains Visio for Enterprise Architects 2005. Best Regards, =Anatoly= ...Show All

  • SQL Server count of null values in columns

    Hi, I would like to ask how can I get count of null values in each column together I know I can use COUNT(*) - COUNT(<col>), but I need to explicitly name every column in the query.... is it possible without it If you're looking for an aggregate to count NULLS, you'll need to use a grouping function (such as GROUP BY) for that. Note that this function counts non-NULLS rather than NULLS, and still requires a name of the columns to work. You could create a cursor of the column names by joining system tables to loop through them, but that sounds pretty un-elegant. Why do you need this information Are you looking for data density information ...Show All

  • SQL Server how to do this in SSIS? soory if i m a noob

    Hi all, Am trying to setup a SSIS package between a sql2000, sql2005 source and a sql2005 destination. I have 2 concerns, firstly, due to performance reasons (we have 2 huge legacy databases): After 1st run, Source table has: 1 - 1000 records Destination table has: 1 - 1000 records For 2nd run, Source table has: 1 - 1500 records Destination table has: 1 - 1500 records How I insert only the 1001th record - 1500th record, without touching the 1st to 1000th record Secondly, if there are any changes in values in the records 1st to 1000th record, how to I compare and only update the value that has changed Is there any particular configuration setting in sql that I can use Many thanks for any help provided. ...Show All

  • Visual Basic Selected Value in ComboBox Populates DataGridView

    'I need assistance on how to Load the GridView By selecting a value in the ComboBox '1. ComboBox is loaded with Satellite SCC #s' From SQL Server 2005 Express '2. The DatGridView is loaded with signals that correspond to the Transponders on the Satellite From SQL Server Express 2005 'The GridView also contains the Satellite SCC #s'. '3. I need the GridView to only load the Signal that Matches the Satellite SCC #s' that are Selected from the ComboBox. '4. So when you click the SCC # in the ComboBox, it will search the Signal Database Table for all the matching 'Satellite SCC #s' and then load the signal information into the GridView. DataBase: SQL Server 2005 express Language: VB.NET 2005 FrameWork: .NET 2.0 Imports System ...Show All

  • Visual Studio Express Editions Datagridview cell content deselect

    I have a question regarding the Datagridview control. When I use mouse to select one cell, the value of this cell will be selected automatically, but I would prefer it not being selected, just put the cursor at the end of the value. How can i do that Thanks   I didn't set any of those. Whatever I set is set in code.   Try unsetting the things you set, like edit on enter etc and then see if the de-select works> Btw it's "code"  it's never "codes".  ...Show All

  • Visual Studio Load in Print Preview

    I am using Reportviewer to produce various local reports for my windows application. Is there any way to set the reportviewer to open in print preview, rather than the full screen, list view All comments/suggestions welcome. Yes. Instead of calling ReportViewer.RefreshReport to view the report, call ReportViewer.SetDisplayMode(DisplayMode.PrintLayout). You should replace the RefreshReport call because SetDisplayMode will do it implicitly, ...Show All

  • Visual C++ When can I use my WSABUF and overlapped structures when using WSASendTo on an overlapped socket

    When calling WSASendto on a UDP socket that is overlapped it is difficult to get the right understanding from the documentation provided in MSDN. The question is, will WSASento copy the content of my WSABUF's so I can use them again (Even before the complete routine and the event is signalled) According to http://windowssdk.msdn.microsoft.com/en-us/library/ms741693.aspx this is the case: "The array of WSABUF structures indicated by the lpBuffers parameter is transient. If this operation is completed in an overlapped manner, it is the service provider must capture these WSABUF structures before returning from this call. This enables applications to build stack-based WSABUF arrays." But reading a Microsoft book in c ...Show All

  • Visual Studio 2008 (Pre-release) BitmapDecoder Metadata via HTTP URI

    I am trying to read MetaData (i.e. Camera used in a photo) from an image sitting on my website. I know the metadata is in the photo, and I know the web server is transferring it by watching a HexDump of the data after a direct request to the server. Also, when I transfer the photo to my local harddrive, I can read the MetaData with the following code: Uri uri = new Uri (" file://c:\\temp\\testimage.jpg " ); BitmapDecoder decoder = BitmapDecoder .Create(uri, BitmapCreateOptions .None, BitmapCacheOption .None); BitmapFrame frame = decoder.Frames[0]; BitmapMetadata m = frame.Metadata as BitmapMetadata ; However, whenever I change the uri to use an HTTP style and pull the image directly from my website without ...Show All

  • Windows Forms Invalidating...

    Hi everybody I'm writing a chess game and I encountered a little problem. Before the main Form loads, I have a Fform in which I set the time etc' and then the main Form shows up. In my main Form I have a MenuStrip, a PictureBox and a lable. My problem here is: After the main form loads the MeniStrip doesn't invalidate itself. I have tried to use the Refresh and Invalidate methods for the Form and for the MenuStrip but it's still doesn't work. The other problem, which is the same as the first one, is that the lable that represent the time changing during the game, doesn't change. The MenuStrip and the lable change their appearance - Invalidate - after I move the Form or hide and the then reveal the Form. When I remov ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Grouping units like in a RTS game

    hello all.. is it possible to group units (drawing a rectancle) while holding down the mouse button with XNA i am planning to do a 2D game where i would need this.. if yes, please give me a hint how to do it... thanks in advance greg @ Calvin Bell this is an idea... line by line... or i put a transparent rectangle tile above it.. ...Show All

  • Visual C# [otp] How to rewrite URLs like www.website.com/username to .aspx page

    Hi all, How to rewrite URLs like www.website.com/username to .aspx page. When ever a user requests for www.website.com/username   I have to first parse the URL get the UserName part of the URL ,authenticate ( database authentication and UserName is unique for each user)and  fill the current contexts profile with this users info if authenticated and finally redirect to landing page of the site. I researched and found that this can be done by httpURLRewriter module. Can someone pls provide sample code and also let me know if any changes have to be done at IIS level. Thanks, Shilpa Hi, The right forum for this question would be http://forums.asp.net For y ...Show All

  • Visual Studio 2008 (Pre-release) Inheriting from two Classes for a WPF User Control.

    Hello All, I have a certain problem. I have a base class class that inherits from System.Windows.Controls.UserControl. The look of this control has been defined in its XAML (although I can do so directly in the code behind also, with maually creating instances of the UI objects that will be a part of the UserControl and adding them to a container like a StackPanel or so) I want to have another UserControl which will inherit from the base class (described above). But it has to inherit from System.Windows.Controls.UserControl also (since it is a user control). This is not possible in WPF. How do I inherit from two classes. For the inherited class, I can do away with the XAML and define the UI objects in the code (as explained above) ...Show All

  • Visual Studio Team System TF14043: An error occurred computing the delta. Not enough storage is available to process this command

    We're attempting to migrate a fairly sizeable SoruceSafe database into a dual-tier TFS server configuration using VSSConverter. After running analyze.exe, VSSConverter Analyze, then half-way through VSSConverter Migrate we start seeing errors in the EventLog. The app-tier server had been running for about 3 weeks, so we've restarted it and are starting a fresh VSSConverter Migrate. Searching for the win32 error "Not enough storage space is available" seems to indicate that it's run out of memory. However this is a Dual Xeon hyper-threaded box with 3.5Gb of memory and plenty of free disk space. The 2.0 Framework machine.config has <processModel autoConfig="true" /> Can you provide any clues as to wha ...Show All

  • Visual Basic Get dll's in use ?

    Is there a way to get all dll that a running program is using Thanks ...Show All

©2008 Software Development Network