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

Software Development Network >> Kadé's Q&A profile

Kadé

Member List

Code_Man888
JoseEjecutin
Aamir Iqbal
hemo
Jeremy Lew
Duane Douglas
kkt
franziss
Mark Rovendro
ironfede
RussP
Bastiaan Molsbeck
hotaruu
Ed77
GN
Joe Kurtz
Chimme
TopperDEL
tone-loc
nikki01
Only Title

Kadé's Q&A profile

  • Visual Studio Express Editions Whats Missing?

    I have this code to save whats in the TextBox1 and then open it in IE. Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click My.Computer.FileSystem.WriteAllText("C:\Documents and Settings\All Users\Desktop\index.html", TextBox1.Text, Flase) My.Computer.FileSystem.ReadAllText("C:\Documents and Settings\All Users\Desktop\index.html") End Sub Whats Missing what exactly do you want to do open it in IE you need to kick a process off to open the file:   imports System.Diagnostics .. ..   Dim theProcessInfo as new ProcessStartInfo("iexplore") theProcessInfo.Arguments = " file:///C:\path\blahblah\file.html " Process.Start(theProcess ...Show All

  • .NET Development DataReader problem (My final straw)

    As a newbie to VB.NET I am rather please with a project that I am completing for my university course. There is one problem that has kept me from completing my project so far, and that is that I can not extract a value from the table of and Access database. To set the scene, I have a form that inserts the values from text boxes into variables and from variables to a database table. This works fine and I have no problems here. (see code below) What I need to do next is retrieve the customerID that is auto generated in the data base, this needs to be stored as a variable in the form and then passed to the next form so that it can be used to make a booking. I have got the code that passes the variable across the ...Show All

  • Visual Studio 2008 (Pre-release) xaml editor suggestion/bug

    Suggestion for v:next - Organize that the x:name or name attribute is always immediately after the element type eg < Button x:Name = " btnClose " < PasswordBox x:Name = " pbPassword " < TextBox x:Name = " tbEmail " < TextBlock x:Name = " lbPassword " < TextBlock x:Name = " lbEmail " < TextBlock x:Name = " tblStatus " < Button x:Name = " btnLoginGo " Makes it easier to fnd named elements. There seems to be a bug in the editor. When I add an x:name attribute to an element, the editor adds in a long xmlns string. Not sure if it always happens. I'll try to remember to capture it the next ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DXViewer keeps crashing

    Hi, Just downloaded and installed the December 2006 DirectX SDK. Using XP Pro SP2 and Devstudio2005 standard edition, DXviewer keeps crashing so I opened up the source code and compiled it to see the error. "The application has failed to start because d3dx10d.dll was not found" I know that Directx10 requires Vista but how can I use the basic SDK tools under XP for directx9 learning I am not a C++ expert but can I link it to DX9 instead. Thanks Stephane The issue was the the December SDK DXViewer was linked to the DX10 libraries, so unless you had Vista and DX10 hardware it woulnd't run. As windozer pointed out this is fixed in February SDK. ...Show All

  • Visual Studio Project.Save behavior different from XmlDocument.Save

    Hello, I discovered the following odd difference in passing, but achieved my goal in another way. Still the following seems wrong: Doing .Save( stream ) closes the stream, it seems - atleast you cannot seek and read from it. It uses XmlDocument.Save but does not behave in the same way, AFAICS. Example: MemoryStream aStream = new MemoryStream(); TextWriter writer2 = new StreamWriter(aStream); XmlDocument doc = new XmlDocument(); doc.LoadXml(proj.Xml); XmlTextWriter xmlwriter = new XmlTextWriter(aStream, Encoding.UTF8); // I can use a TextWriter as well, makes no difference doc.Save(xmlwriter); aStream.Seek(0, SeekOrigin.Begin); // <-- OKIDOKEY! Works as expected, of course. XmlTextReader rd ...Show All

  • Visual Studio 2008 (Pre-release) XML-RPC with WCF

    My companie have some XML-RPC Services. How I can comunicate with this protocole with Windows Communication Fondation For the search engine's (and the readers') benefit: http://blogs.msdn.com/clemensv/archive/2007/08/21/xml-rpc-with-wcf.aspx ...Show All

  • Visual Studio Team System Newly created Area and Iteration paths not showing up in work items

    I have created a new iteration and area paths for my project, but the values never show up in Work Item dropdown values.  Its been a few hours, and I've re-started VS/TeamExplorer several times. Any idea how to resolve this issue   I need to be able to create new values that show up in my WI's. Thanks, -JS If you open a new instance of VS and go to the "Areas and Iterations" settings for the project is your new iteration shown Is your iteration name alpha-numeric Or do you have any strange characters in there Does the new iteration appear on other machines Try turning on client tracing and see if that reveals anything: http://forums.microsoft.com/MSDN/ShowPost.aspx ...Show All

  • Visual Basic Minimize other process

    Hey Is it possible to minimize another thread I have started the tread by: Dim myProcess As System.Diagnostics.Process = New System.Diagnostics.Process() ..... myProcess.Start() I then want to minimze the opend program, is that possible /nOrphf This uses the SetWindowPlacement API to minimize all running applications main windows. Hope this helps. Public Class Form1 Private Declare Function GetWindowPlacement Lib "user32" (ByVal hwnd As IntPtr, _ ByRef lpwndpl As WINDOWPLACEMENT) As Integer Private Declare Function SetWindowPlacement Lib "user32" (ByVal hwnd As IntPtr, _ ByRef lpwndpl As WINDOWPLACEMENT) As Integer Private Structure POINTAPI Dim X As In ...Show All

  • Visual C# Why is there a PDB file in my projects Release folder?

    This is probably a deployment question, but there doesn't seem to be a deployment section in .NET Development Forum. I thought the PDB file was only for debugging purposes, so why is there a PDB file in my bin\Release folder What are the (dis)advantages of including this file in deployment It started happen in Visual Studio 2005 only, In Visual Studio 2003 it did never happen so the thing you can see that in Visual Studio you could debug assemblies only in debug mode but in 2005 you can also debug when its set to Release. Lets have more comments ;-) ...Show All

  • Visual Studio Team System Download Links for coming Updates to Documentation

    would it be possible to get download links to the current documentation (chm files) for VSTS4DBP as they are updated before RTM Both for VSTS4DBP and API's. I'm on the road quite a bit in the next week(s) and will not have online access much of the time. Since you have indicated there will be several updates before RTM I would like to have access to them offline. Thanks, Alle I wanted to give a quick update. We've got CHM files of our November update, but we're trying to figure out what hurdles we are required to jump in order to make pre-release docs available. Some folks suggested we can't release a version that doesn't have the "Pre-release" tag on all topics, there's ...Show All

  • Visual Studio Express Editions Newbie How to question

    Hello To All: This is my first post. In regards to vb5-express how do you write a code for a button that will display a change for a dollar In other words I have a textbox that ask the user to enter cents from one dollar. However I do not know how to write the correct code that will give the user change in half dollars, quarters and so on, by displaying the change in a label after the button or calculating button is pressed. Any help welcome This is a good example, if you are just starting programming in VB2005 Express (or VBE, VBExpress) - Not VB5, as this could be confusing... :) To start with, when you begin your calculation, you would start with a number (of cents). Then you would check to see how many half-dollars ...Show All

  • SQL Server Unable to install SQL Server 2005 SP2 - Unexpected error (error 1635)

    I am trying to install SQl Server 2005 SP2 but it was throwing an unexpected error when trying to install "setup support files". O/s: Windows Server 2003 SP1 Product: SQL Server 2005 Standard Edition Log file shows: +++++++++++++++++++ === Verbose logging started: 2/20/2007 16:05:42 Build type: SHIP UNICODE 3.01.4000.2435 Calling process: F:\SQL2005sp2\hotfix.exe === MSI (c) (74:68) [16:05:42:635]: Resetting cached policy values MSI (c) (74:68) [16:05:42:635]: Machine policy value 'Debug' is 0 MSI (c) (74:68) [16:05:42:635]: ******* RunEngine: ******* Product: C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Cache\SQLSupport\x86\1033\SqlSupport.msi ******* Action: ******* CommandLine: ********** MSI ...Show All

  • Visual Studio Project Item Templates

    Hi all, I'm developing a new project wizard which has to create both new projects and project items according to project and project item templates that we've created and tested. The problem I'm having is this: The new projects are being created correctly with the new template via (Solution2) GetProjectTemplate() but whenever I try to create the project item from its template via (Soluntion2) GetProjectItemTemplate() it throws the following exception: System.IO.FileNotFoundException Message: "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)":null Source "EnvDTE80" string As I mentioned both templates have been tested and appear in the proper VS dialogs. It just seems tha ...Show All

  • SQL Server for loop expression

    I'm trying to run a data flow task inside of a for loop container. First I was attempting to set the forloop expressions using variables that I was setting by running execute sql tasks. I ran into so many problems there, I decide to try this an easier way. So I've created 3 variables, all Int32. One is called counter, one is called inc, and one is called max. The values are set to: counter=1, inc=2, max=100. I then need to set the Expressions for the for loop. SO I open the properties window, and click on Expressions on the left hand side. I've set the following: AssignExpression : @counter = @counter + @inc EvalExpression : @counter < @max InitExpression : @counter = 1 To prove to myself that the counter variable was not incrementin ...Show All

  • .NET Development Q: DIA SDK not finding SymTagUDT in .NET 2.0 programs

    Hello Everyone: I have been working with the DIA SDK 8/VS 2005/.NET 2.0 for a while now. My ATL/C++/DIA SDK project can interrogate non-.NET project .pdb files just fine, but whenever I try it on .NET 2.0 projects, it never finds any of the user defined types - the SymTagUDT typed in the .pdb. Initially the project started in VS 2003. When VS 2005/.NET 2.0 came out I upgraded. As part of my testing I have removed VS 2003, .NET 1.0 and 1.1, msdia20.dll and msdia71.dll, as well as removing all references to msdia20.dll and msdia71.dll from the registry. (msdia80.dll is installed and registered.) To the best of my knowledge the project settings for the .NET 2.0 programs I want to examine have the proper settings - optimization is ...Show All

©2008 Software Development Network