Software Development Network Logo
  • Microsoft ISV
  • Windows Forms
  • Windows Vista
  • Windows Live
  • SQL Server
  • Smart Device
  • Visual C#
  • VS Team System
  • Visual J#
  • Visual FoxPro
  • Visual C++
  • Game Technologies
  • Visual Studio
  • Visual Basic
  • Architecture

Software Development Network >> Axel F's Q&A profile

Axel F

Member List

richwu
Michael Thornberry
Antony Perkov
sbaba13
Triple B
Matt W.
Soviut
PMBT
jkj13
Ting
Stnnet
Sylpheed
JCreasy
Tej62007
Liangxiao Zhu - MSFT
LaurenEckert
Cubaconn
Vince15
Julie Lerman
Martin Xie - MSFT
Only Title

Axel F's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. PIX profiler crashes with multi-thread app

    Hi, I've been trying to use PIX to profile an app which uses multiple threads to spread the load of creating large, dynamically-produced polygons. It simply crashes the application as soon as one of the 'worker' threads starts doing anything. Is there a way of making PIX work with a multi-threaded app Thanks, Jim Keir   jimkeir wrote: Hi, I've been trying to use PIX to profile an app which uses multiple threads to spread the load of creating large, dynamically-produced polygons. It simply crashes the application as soon as one of the 'worker' threads starts doing anything. Is there a way of makin ...Show All

  • SQL Server Connecting to Sybase

    Hi, I am assuming someone has had success connecting to Sybase from SSIS. I am having trouble. And I freely admit naivety when it comes to something like this. :-) I installed dbConnector 6.01 which has a Sybase connector as a part of the package. I then tried to create a connection manager for Sybase using OleDb, but it was not an option in the list of OleDb connections. So, am I correct in assuming that I need to use ODBC If so, is there an OleDb Sybase driver that can be used with SSIS Any help in using SSIS to connect to Sybase would be appreciated. Thanks, - Joel Joel, I've had succ ...Show All

  • .NET Development Books for .NET 2.0 and Visual Studio 2005

    Greetings, We have to purchase a new set of books to update our library to the new 2.0 .NET release and Visual Studio 2005. Which books would you recommend for the following topics 1) Visual C# 2) Visual Studio Team System 3) .NET Framework 4) ASP .NET 2.0   Thanks ! Acoquinar. Professional C# 2005 Professional ASP.NET 2.0 Working with Microsoft (r) Visual Studio(r) 2005 Team System ...Show All

  • Visual C++ LINK.EXE BUG: /OPT:NOREF option doesn't work!

    My program contains static objects whose constructors are supposed to run at the beginning of the program, but otherwise those variables are  unreferenced . The problem is, when I put these variables into a .lib file, they get completely optimized away and never appear in the resulting .exe! My understanding is that /opt:noref is supposed to cure this, however, it has absolutely no effect. I also tried __declspec(selectany) on the vars, also no effect. The same behaviour occurs with VC6, 7 (2003) and now also 8 (2005 Express). This looks very much like a linker bug. Is there any workaround to this problem (Such as additional linker fl ...Show All

  • Visual Basic Using the progressbar

    This is what I am trying to do: Copy a file from my resources to the temp directory. Get the size of the file in my resources in bytes. For every byte that is copied I want to step the progressbar by 1. The part I am having troubles with is getting the size of my file. I want to get the size so I can set the progressbar's maximum property to the same value. Also, would it be a good idea to use a background worker for this Thanks. Hi Troy, Here's a little something to get you started with grabbing the file size: Dim fileInformationHolder As System.IO.FileInfo = New System.IO.FileInfo("C:\AVG7QT.DAT") Dim fileSizeInBy ...Show All

  • Windows Forms refreshing datagrid

    Hi, I have a datagrid (DGOrders) bound to a dataview (DVOrders). DGOrders.DataSource = DVOrders; DVOrders.Table = sTableName; BAsed on some user action I update the DAtaview DVOrders.RowFilter = "COlumn1 = '19' and Column2 = '64' " ; Now how do I update the Datagrid so that it shows the current values in the dataview I tried DGOrders.Refresh(); but datagrid does'nt refresh and it continues to show the same values. Thanks, I found it myself. DVOrders.RowFilter = sRowFilter ; DGOrders.DataSource = DVOrders; does it. ...Show All

  • Visual Basic ControlDesigner vb.net express

    Hi, Is System.Windows.Forms.Design.ControlDesigner unavailable for VB.net 2005 express I am having problems finding it. oops   silly me, yes I didn't have a Reference to System.Design, I had a Reference to System.Windows.Forms and thought that would do it. Didn't even think about the System.Design refference. Thank you for the help. ...Show All

  • Smart Device Development How to open PocktPC Calculator application..

    How can I open the Calculator application in the Windows Mobile at a click of a button Thanks, Vijay You can use the CreateProcess function from the coredll import...this is the only why I have found to launch and external program from my application I swiped this from somewhere online... //create the process info class public class ProcessInfo { public IntPtr hProcess; public IntPtr hThread; public Int32 ProcessId; public Int32 ThreadId; } [DllImport("CoreDll.DLL", SetLastError=true)] private extern static int CreateProcess( String imageName, String cmdLine, IntPtr lp ...Show All

  • Visual C# Can I make this run any faster?

    I have created this threshold image filter, and although it works, it is still a bit slow.  A similar image filter in Photoshop runs MUCH faster... what are they doing differently   How can I make this run faster unsafe public void ThresholdFilterUnsafe( int intMidValue) { filteredImage = ( Bitmap )originalImage.Clone(); Rectangle filteredImageBounds = new Rectangle (0, 0, filteredImage.Width, filteredImage.Height); BitmapData bmData = filteredImage.LockBits(filteredImageBounds, ImageLockMode .ReadWrite, filteredImage.PixelFormat); byte t; for ( int y = 0; y < filteredImage.Height; y++) { PixelDa ...Show All

  • Visual Basic Improve this code (for fun)

    Hi all, Just thought if it's allowed, i'd make a 'improve this code' type post.  No real point, just to see how it ends up. The code is for making 'flying text' on a form. All you need it to make a new project, and replace the form's code with this code.  No adding of controls needed. The code is not commented, i figure it's pretty self-explanitory. Basically right now, the animation is triggered by a created timer, and text is drawn using the Graphics object. Public Class Form1     Private Y As Single     Private tmr As Timer     Private InvalidRect As Rectangle  &nbs ...Show All

  • Visual C++ How do I really get started?

    I’m not sure if this is the right forum for this question, but…   I have downloaded Visual c++ Toolkit 2003. The setup.exe file with it has the version number 9.0.333.0 but the Command Prompt has no version number, just a creation date of 8-April 2004. I have also downloaded a C++ text editor and written my first program. Thing is, I cannot find anywhere the instructions for how to compile it.   In the Command Prompt window I typed cl / and got a list of what I take to be switches (they all start with a front-slash / ) but no Compile command. Searching the website associated with the program I found lots of articles ...Show All

  • Visual Basic How to change a pic??

    i put like this     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)     Handles Button1.Click             PictureBox1.Image = "1.JPEG"         Label1.Text = "what text"     End Sub when i clck this button, the text "what text" will appear. but the picture stil can;t be display. the error showed is " value of  type string cannot be converted to 'System.Drawing.Image'" May i know what happen> Picturebox1.Load( "c:\temp\h.jpg" )   Happy viewing ...Show All

  • SQL Server Connecting to SQL Server database via windows form app

    Hi, I have developed a windows form application which connects to a sql server 2k database via the following conneciton string: Private con As New SqlConnection("Data Source=(local);trusted_connection=true;Initial Catalog=Database1") This works fine for running locally but I need to give my Windows form application to other users on the lan and have them reach my database server.  So next I tried: Private con As New SqlConnection("WorkStation ID= E134017.nw.nos.Boeing.com;Data Source=(local);trusted_connection=true;Initial Catalog=Database1") where E134017.nw.nos.boeing.com is the full network path to my computer It does not work a ...Show All

  • Visual C# Is It possible??? Big big challenge!!! webbrowser

    I have a web browser.. is it posibile to get the document as is.. i mean. something like a image of it.. with all the images.. all the things.. .. my idea was.. to get the content.. something with the print method.. coz if it can passe it to the printer.. why not pass it to me too i dont know eather if its possible or good Thanks!!! There's a Win32 function called PrintWindow and two windows messages: WM_PRINT, WM_PRINTCLIENT. Maybe some of this could do the job but I don't know... I have never used them. ...Show All

  • Visual Studio Express Editions Help with MDI Form.

    How can i get like a taskbar sort of thing where you click on the button and it shows that form like in this example http://www.winmxunlimited.net/pic11.png A ToolStrip is exactly the same except you're handling the Click event for ToolStripButton objects instead of Button objects. It's time for you to get a clue. The key to handling multiple events with a single method is the 'sender' argument. It is ALWAYS the object that raised the event. The code I provided earlier could be used to handle the Click event for any number of Buttons, or any other event that has the same signature for that matter. You always know which Button was cl ...Show All

©2008 Software Development Network