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

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

GaryMcC

Member List

Hardin77
JoeBlew
WilliamVista
gregaug
Rob Harris
sgmuser
KimberlyL
Tina J
StuartGM
Eswans2000
Shaile
allison_h
NetPochi
D14bl0
Ahmed Fetouh
Markus Fritz
Jim Sn
Vitalijus
White Hawk
Neotech
Only Title

GaryMcC's Q&A profile

  • Visual Studio Express Editions How do I make an xml reader read as a int

    Hey I have a couple program problems: I'm trying to make my reader also get interger files for timer events, but the problem is it keeps reading it as a string varible and not a int. How can I make my xml reader read the varible like a int and not a string Example: Xml File Example < xml version = " 1.0 " encoding = " utf-8 " > <Test> <Random> <string>Hello World</string> <int>932<int> </Random> </Test> Xml Reader File Example System.IO. StreamReader SR = new System.IO. StreamReader ( @"Test.xml" ); System.Xml. XmlTextReader XR = new System.Xml. XmlTextReader (SR); System.Xml. XmlDocument XmlDoc = new System.Xml. X ...Show All

  • Visual Studio 2008 (Pre-release) BinaryMessageEncoding algorithm?

    Hi All, I would like the know whether the WCF BinaryMessageEncoding algorithm is published In our environment, the WCF communication is between Windows XP desktops and custom Windows CE devices (C++). Our CE devices don't have any .NET/WCF framework, but I would like to use the BinaryMessageEncoder because it compressed data so much better. We are going to write our own dispatching mechanism on the CE devices that understand the WCF SOAP msgs. I know I can write my own custom encoder, but if possible I would like to leverage off from the existing binary encoder. Any suggestions would be much appreciated! Thanks, W Wong Hi Nicholas, Thanks for your insight and I totally agree with you. I ...Show All

  • Windows Forms adding a User Control programmatically to a panel control.

    'DMan1' showed me how to add a panel to a TabPage programmatically. I can find that panel in QuickWatch -->> TabControlRight.TabPages(0).Controls(0) When I had previously added the panel to the tabpage at design time, I was able to add a custom User Control of mine to the panel by just dragging it over from the toolbox. How do I do that now that I have just added this panel to the tabpage So how do I add the custom User Control onto the panel now Thanks, -Greg I'm still trying to figure this out. If the TrackControl looks like this in the MainformDesigner.vb, how do I get this same user control to show up on the panel which is on the tabpage, which itself is on the tabcontrol, ...Show All

  • Visual Basic save dialogue box using designer in Visual Studio 2005

    With the toolbox you can drag a SaveFileDialog to the area below the designed window, but then what Where do you put it into the design How do you use the toolbox to create what you would create manually with this code: Friend WithEvents SaveFileDialog1 As System.Windows.Forms.SaveFileDialog Me .SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog Private Sub Button2_Click( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button2.Click Dim Error_pass As Boolean = False SaveFileDialog1.CreatePrompt = True SaveFileDialog1.OverwritePrompt = True ... Thanks! Steph OK you can drop the control it onto the form at design ...Show All

  • Software Development for Windows Vista Is there a tool to modify the file version resource in kernel mode drivers?

    For bug tracking purposes, I want to fix the product version on the level of the last change, while file version should reflect the version number of the release. To avoid recompilation I would like to have a tool to modify the file version w/o breaking the driver. Does anybody know such a tool Strix We don't know of such a tool. Using this type of tool would invalidate the digital signature anyways. If you want to associate bugs with specific versions, update the version of the file in the .rc file before compiling it, not after. A proper build system would update this revision number on a regular basis (at a minimum immediately prior to and after shipping a version). . ...Show All

  • SQL Server Is SSIS (SQL Server Integration Services) a new product or just the upgrade version of DTS?

    Hi, all, I am having a question about SSIS. Is it a totally new product in SQL Server 2005 or it is a upgrade version of previous version DTS Thanks a lot for any guidance for that. With best regards, Yours sincerely, It is the successor to (or replacement for) DTS, but it is not an upgrade. There is no code from DTS that made it into SSIS. Therefore yes, it is a totally new product. -Jamie ...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

  • Smart Device Development Is compact framework 2.0 not already installed on Windows Mobile 5 devices?

    Hi, My experience with Windows Mobile 2003 was that the compact framework version 1 was already installed. This made deployment quite easy for my Framework 1.1 applications. I am now preparing to release a Framework 2.0 application and was hoping to be able to similarly expect the runtime to be already installed on today's devices. To test this out, I purchased a brand new Dell Axim 51V, copied a HelloWorld program to it and received the error that "This application requires a newer version of the Microsoft Compact Framework than the version installed on this device". My device has Windows Mobile Version 5.0 OS 5.1.195 (Build 14957.2.3.1). Does this version of the OS not include the .Net Compact Framework 2.0 Tha ...Show All

  • Visual C# Stopping applications from running

    I need to write a small application that will stop other applications from running. For example, I dont want NotePad to run on a specific machine. How can I chain in the OS to find out what is being run, and then abort it Thanks Ralph Krausse See, I wrote the managed way to do this....... In my knowledge, there is not built in implementation of this feature in FCL upto 2.0 Framework. But your example is right there me be some hook type technique to detect application initialization but sorry I never listened or read about this. If you get any solution please also inform me right in this post. Best of Luck ;) ...Show All

  • Visual Studio 2008 (Pre-release) How to bind Background to RadialGradientBrush.Color?

    Hello, I defined style for button. Its template contains rectangle filled with RadialGradientBrush and I want to bind Color property of brush to Background property of button. I know, Brush and Color are different types, but how to bind it correctly < Window x:Class = " WPFForm.Window2 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " WPFForm " Height = " 441 " Width = " 520 " > < Window.Resources > < Style x:Key = " ButtonStyler " TargetType = " {x:Type Button} " > < Setter Property = &quo ...Show All

  • Windows Forms Text invisible in textbox

    I have a text box to which I'm sending strings to output, but I notice that the text box displays blank and all the text is invisible. How do I make the strings visible / Its pretty straightforward. Function disp() will be called from Form1 when user clicks a button. // test.cpp : main project file. #include "stdafx.h" #include "Form1.h" #include "string.h" #include "stdio.h" using namespace test; void disp(); [STAThreadAttribute] int main( array <System::String ^> ^args) { // Enabling Windows XP visual effects before any controls are created Application::EnableVisualStyles(); Application::SetCom ...Show All

  • Software Development for Windows Vista July CTP breakpoint on state machine workflow can't open the workflow designer

    Dear all, I am trying to debug a state machine workflow in the July CTP of WF. I have set a breakpoint on the state machine workflow, but when I debug and the breakpoint is hit, I get: Dear SonaliC, I have already upgraded to the final release. So far, I have not experienced any trouble opening the workflow designer when a breakpoint is hit. However, I still get the problem I described when I open a project in VS2005, then try to open a state machine workflow in the workflow designer. As before, it goes away if I rebuild the solution. I get this with both XOML and code state machine workflows. ...Show All

  • Visual C++ [SOLVED]Help with variable/String

    hi i was wondering if anyone could help. i am using this small bit of code that will work only in the Event where it is placed but i want to be able to change the data that it holds throughout the program, im using MS VS 2005 C++ and here is the code String^ Species Species= "Dog"; MessageBox::Show( Species); I would like to be able to change the data in the String^ Species from anywhere and not just within the { }. can anyone plz help. thanks but what if i wanted to put the contents into say... textBox1->Text i tried it and it doesnt recognise the value species from within another evert, the contents seem to die with the previous event ...Show All

  • Windows Forms How to fill an object with a red backslash's pattern?

    Hi, I need fill a component (in a winform running like design-time) with a red backslashe's pattern when the end user press the [DEL] key. This 'effect' will be to use to indicate that the control was delete. I hope that someone help me. Thanks in advance. CFQueb Thank you a lot for the code!. Only applied an override to the Paint event and place a condition for execute the code. Here is the C# version of your code: #region OVERRIDE'S CLASS protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e); if (VisibleEnProduccion == false) { Graphics l_graphics = e.Graphics; Rectangle l_rec = e.ClipRectangle; Point l_pt1 = new Point(0, l_rec.Width); Point l ...Show All

  • SQL Server Licensing Reporting Services

    Hello, I am going to replace our aging 7.0 server and install 2005 Standard. I want to use the new Reporting Services, and I have a question about the licensing. I will have Reporting Services installed on the SQL Server. It's just the one machine with one processor. Reporting Services will be pulling data from the same machine it is installed to The reports are entirely for internal use (i.e. not a public web) I have 5 CALs for the 2005 at this time. I confess I'm slightly confused about the costs for Reporting Services. RS is on the 2005 disks, it is not a separate program you purchase I install it, do I need to purchase some other license besides the 2005 Standard one I bought Do the CALs I have count towards CALs for RS, or do I ne ...Show All

©2008 Software Development Network