Software Development Network Logo
  • Visual Basic
  • Visual C++
  • VS Express Editions
  • Visual J#
  • .NET Development
  • VS Team System
  • Visual C#
  • Smart Device
  • Windows Vista
  • Windows Live
  • Visual FoxPro
  • SQL Server
  • Visual Studio
  • Windows Forms
  • Microsoft ISV

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

Heistgonewrong

Member List

rajeshprabha
Ken Hizer
Charles Brownmiller
JamesLiang
Rajnessh Tiwari
kaebischer
SkyLander
vadoriu
Gato00
Sweed
paschott
nLella
JFalcon
usman_kec
TxDot
Sarita Bafna
JackT
Greg B.
nguyenkiem
Kuang Zhang
Only Title

Heistgonewrong's Q&A profile

  • SQL Server Fuzzy Lookup

    How is it possible to get the Unmatched records on the error path of lookup so  that they may be passed to a fuzzy lookup. I'm trying to duplicate the 1st example on the Data Cleansing Webcast. All I'm getting is a null on the  title out of the lookup component. TIA, GUY Here you go.. http://msdn.microsoft.com/msdntv/episode.aspx xml=episodes/en/20050512SQLServerDF/manifest.xml ...Show All

  • Windows Forms unsafe bitmap

    This pertains to image processing.  In c, I am used to using a char pointer to an image buffer.  I would index through the buffer and set pixel color, etc.  In c#, we use Bitmap.SetPixel(x, y, color). I would like to process this bitmap the c way.  I would like to get a buffer pointer like: (I'm making this up) Bitmap bitmap = new Bitmap(300,  ...Show All

  • Visual Studio 2008 (Pre-release) MenuItem Highlight Styles in Feb CTP

    Hi all, After upgrading to the Feb CTP ive had problems changing the highlight colour for mouseover effects on menu items. The code below worked in the January CTP - but no longer functions correctly - any ideas guys 'n' gals <!-- menu item style --> <Style x:Key="{x:Type MenuItem}" TargetType="{x:Type MenuItem}"> <Setter Property="FontFamily" Value="Arial" /> <Setter Property="FontSize" Value="10pt" /> <Setter Property="FontStyle" Value="Normal" /> <!--<Setter Property="FontWeight" Value=&qu ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. C# - DirectX 9.0c - Creating a Basic Hexagon

    I was wondering if someone could walk me through drawing a basic hexagon using DirectX 9.0c in C#. I've been using the Vector3 structure, and I am having problems understanding how to initialize the view transformation matrix for a hexagon, as well as what input vectors will represent the hexagon (understandably 6). Thank you in advance, Owen The view matrix (nor the world or projection) isn't something you change to draw a shape. They change how the shape is drawn to the screen. Firstly, draw out your hexgon and use some math to calculate the coordinates of the vertices. If you math isn't ...Show All

  • Visual J# auto Import

    Is there anyway in VS 2005 to auto load import references in J#. I use the javax.swing.JOptionPane in most of my projects and was looking for a way to load it automatically into new programs. Thanks for any input. Let me get your question right. Are you looking for a way to add a reference automatically to your project if you refer some type from a particular DLL ...Show All

  • SQL Server OLD MEDICAL PROGRAM IN ACCESS 1.1 CONVERTED TO 2003, DOES NOT RUN.

    Thanks Mr. Wachal. We did everything exactly what you have suggested us to do. The MDB file is now in Access 2003. BUT, BUT, the program, that was written over 12 years ago, does not understand the new file. It is not able to open the file. It seems that the old software only understands Access 1.0 or 1.1 MDB files. So, what can I do to with this old medical software, wery useful and practical, but unable to be upgraded with a newer data base file type Really, thanks for your kind help and excellent advices. You are the only chance that we have to solve this problem, so thanks again. Dr. G. Varnagy Caracas - Venezuela ...Show All

  • Visual C# dynamic casting/creating

    this isn't allowed : if (soort.Equals("Form1")) { Form1 formulier = (Form1)Sessie.cachedForms.Pop(); formulier.method_of_form1 formulier.show } else if (soort.Equals("Form2") Form2 ... Error 2 : Embedded statement cannot be a declaration or labeled statement Sessie.cachedForms.Pop() returns a reference to a form. What i want to do is making a new Form of the correct type. If I don't cast it to the right form, it is not possible to access a method. How to do this so for the the designer view: you can have in ...Show All

  • .NET Development Howto: Controlling Navigator's Behavior with Column Changing Event?

    Hi! I've a situation where I've to capture the event which is fired adding/saving new row and recontruct is so that it is more readable. I've typed dataset which makes all the checks based on the related schema. Event is fired when: 1) I've added one new row and now saving it. Now what is happening is when I try to save null to any non-null column it throws exception saying: "Column "iTermID" doesn't allow null". Which actually i wan't to avoid by recontructing it in readable form. 2) I've added one new row and now again pressed Add new record. Since firsrt row contained null values and underlying columns doens't allow null, i ge ...Show All

  • Visual Studio Team System Problem getting code generated unit tests to work.

    Everytime I add a new test project a localtestrun.testrunconfig file is not generated for me. Everytime I open the project my output window keeps telling me: Error loading "FilePath".vsmdi: Input file not found: "FilePath".vsmdi. Error loading localtestrun.testrunconfig: Input file not found: "FilePath"\localtestrun.testrunconfig. So, my question is how do I add a .testrunconfig file to my project Thanks in advance, Dan Thank you very much.. I thought the .testrunconfig file would be under the project (Like the app.config file). Real newbie mistake, but appreciate your help. Thanks again, Dan ...Show All

  • Visual Basic Need Code Sample for Signature Capture Form

    I am new to VB 2005 and am trying to create a form for capturing user's signatures.  In VB6 I did this in the mousemove event of a PictureBox. (See code below)  Does anyone have some VB 2005 code I could borrow to do the same thing Thanks in advance! Private Sub pict_MouseDown(Button As Integer, shift As Integer, X As Single, Y As Single)           '           Pendown = True           cmntfrm.pict.DrawMode = 1           cmntfrm.pict.DrawWidth = 1 & ...Show All

  • Software Development for Windows Vista Looking for CleanupSharedWinFXFiles.exe

    Hello Forum, I had a prerelease of WinFX on my machine and I am looking for CleanupSharedWinFXFiles.exe which shall care for cleanup of the gac. I had the reference from a MS Page http://www.microsoft.com/downloads/details.aspx FamilyId=AAE7FC63-D405-4E13-909F-E85AA9E66146&displaylang=en but the regarding Link to this file is broken. Does anybody have this file or a working link to that download Best regards Ralf Thanks for the fast answer but I expressed myself a bit unclear. The not working link is: http://download.microsoft.com/download/2/1/7/217cbd50-a507-42f6-8efe-e88e1668f3f2/CleanupSharedWinFXFiles.exe Rega ...Show All

  • Windows Forms Difference between .exe and .dll security resctrictions?

    I've wrote a visual component (dll) and embedded it in the html page.  I just can't run it without Security Exception (it tries to connect to MSSQL using SqlClient ADO.NET objects). I have  1) strongnamed a dll  2) added AllowPartiallyTrustedCallers attribute  2) created a codegroup with FullTrust permissions based on the strong name of my assembly.  It just doesn't& ...Show All

  • Visual C# Print Solution

    Is there a way to print an entire C# solution or do you have to select one file at a time and print Thanks Steve 1)  C# doesn't have optional parameters, only VB.NET does.  This is why you'll often see far more methods in a C# project than a VB.NET project. 2)  You are correct, you could not have 2 methods of the same name both with a String as a parameter.  Each method would need a different set of parameters. ...Show All

  • Windows Forms Magic constructor

    WHat is a "a serialization (magic) constructor" I did a conference session on this for VSLive. You can find my slides and examples at <a href="http://www.mcwtech.com/2003/vslive/sf">MCW Technologies' site</a>. Hopefully, that will help, if you need to do this sort of thing. The code you need is on slides 48 and 49, but it may  ...Show All

  • Software Development for Windows Vista Managing resources within workflows

    I need access to some resources whenever my workflow is active in memory, i.e when it is in the hydrated state. I am using the SqlWorkflowPersistenceService for persisting the state of my workflows. What is the best approach to detect when the workflow is active (because of creation or hydration) and inactive (because of dehydration or completion) I want to use these events to open and close my resources. maybe the easiest is to hook into the events of the WorkflowRuntime like "WorkflowLoaded" and "WorkflowPersisted". ...Show All

©2008 Software Development Network