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

Software Development Network >> Shawn Wildermuth - MVP (C#)'s Q&A profile

Shawn Wildermuth - MVP (C#)

Member List

Subbu_Jana79
Jakein2006
laboremus
shyma
Imesh
EricBrown
Nyasha
SekharPC
A.Russell
Albertods
Prince17
overthetop
Lovericky
mcrisf
Dylan Smith
Bruce H
Jeremiah Morrill
LORDTEK
bkohler
JennyMQuinn
Only Title

Shawn Wildermuth - MVP (C#)'s Q&A profile

  • Software Development for Windows Vista Storing workflow in Database

    Hi All, I need some help on how to store the workflow in database(SQL Server 2005).How can we retrieve the workflow from database How to access the workflow,activities from the database Can we store the custom activies to the database How to access it from the database I am totally confused with the integration of workflow with the database and the persistence,tracking service concepts of the workflow.Can anyone help me with this issue Thanks in advance. Karthick.  There's no need for you to have to create your own schemas. There are script files provided with the .NET Framework 3.0 SDK that will automatically generate the Workflow Tracking and Workflow Persistence databases. On my machine, t ...Show All

  • Visual Basic can't register Microsoft.InteropFormTools.dll

    Hi all, I'm probably doing something wrong, but I'm having a problem with the toolkit dll. The VB.net part (of the hello world sample) works fine, but if I open the project in VB6, I'm getting a 'missing reference: toolkit dll" error. If I manually try to add the reference, I get an other error : can't add reference. What I'm a doing wrong Greetz Geert Hello Paul, Thnx for the answer....problem solved. The real problem was that I use VB.NET on my Laptop, but VB6 runs in a (MS) virtual PC, so I thought I simply have to copy the "hello world.dll" and the "toolkit.dll" to the VPC, but this one failed.....but following your tips, I installed the toolkit (also) in th ...Show All

  • SQL Server Removing Weekends??

    Hi, i'm new to the SQL game and have been given the task of removing all the weekends in a report so as it only shows the weeks as mon-fri. I've checked out a few pieces of code but can't seem to get it to work. Anyone able to help Also consider using a calendar table. Joining on the date you can eliminate weekends, holidays, whatever. Here is an article I wrote that loads a calendar table: http://drsql.spaces.live.com/blog/cns!80677FB08B3162E4!1349.entry ...Show All

  • Windows Forms Form won't click - is this another change from VB4?

    Probably another stupid question (all I ever ask!). My VB4 program allowed the user to click the background of the form to alter the background picture. In VBS, I put code into form event "click", run the program and the code does absolutely nothing. Put the identical code onto a button or label and it works fine. Does this mean that VBS won't let you click the form itself (The 'click' event shows in the list of form events, so am I missing something ) Andrus42 The purpose of VB Studio is to make old programmers feel their age... Thanks for the response. In a sense it's a relief - it's VBS rather than me doing something totally stupid (makes a nice change), Thanks for the work-around - a panel s ...Show All

  • Visual C++ Driver Detection in Win32 Console Application

    Hi, Currently Iam Implementing USB Downloader in Win32 Console Application (Visual C++ 6.0) I would like to know whether Win32 Console Application supports USB Driver detection functionalities.(like Auto check of Removing & insertion of USB) I have found in few articles & tutorials That win32 console application cannot handle message or interrupt hanling by using "WndProc" API. Is there any way to implement win32 console application for driver interrupt handling Thanks in Advance regards   nirmalarasu wrote:  Currently Iam Implementing USB Downloader in Win32 Console Application (Visual C++ 6.0).  I would like to know whether Win32 Console Application supports USB ...Show All

  • SQL Server WMI Data Reader Task failed

    Hi guys, I don't know why on earth. It only inform this: [WMI Data Reader Task] Error: An error occurred with the following error message: "Invalid query ". My query is a simple one, very well-know for all of us: strComputer = "SRVDESASQL2005" Set wbemServices = GetObject("winmgmts:\\" & strComputer) Set wbemObjectSet = wbemServices.InstancesOf("Win32_LogicalMemoryConfiguration") For Each wbemObject In wbemObjectSet WScript.Echo "Total Physical Memory (kb): " & wbemObject.TotalPhysicalMemory Next Let me know any comment or thought, I'm just a beginner with WMI. TIA. ...Show All

  • Visual C++ arrays

    i have an array that i have debuged to make sure it contains stuff. when i access it like arr[1]; it is fine. but is i try int pos = 1; arr[pos]; i get an exeption at runtime of "System.IndexOutOfRangeException" the array is highlited. what can i do Also note that when you create an array, the elements start at 0. If you do something like int array[1];, the first element would be array[0]. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. got all my scenes drawn up.. how to program them?

    ok sense i got 16 years of drawing experienced i decided to draw my scenes and color them with art pencils.. its suppose to have aliens invading the city and you have to get rid of them with your gun, i dont no if i made the sketches for nothing but someone said i can put these sketches in the game, my brother helped with the art. Here is an example of how to display a bitmap in XNA http://geeklit.blogspot.com/2006/12/showing-bitmap-in-xna.html ...Show All

  • Visual FoxPro vfp 6 reports

    I am using report format environment preview. When through terminal services, people are able to click the print icon, but they are not able to print out their report. Do I need to specify local printer I am newer to using FoxPro It is enought to have a default printer selected from Start>Printer&faxes and the printer to work fine. You may choose,change and check the default printer from vfp with getprinter() function. ...Show All

  • Windows Forms Datagridview (DGV) Delete Row Brings Back Row

    I've got a simple grid (DataGridView), bound to datasource in a strongly-typed dataset  (appStronglyTypedDS).   When I populate the grid, and delete all the rows, one-by-one,  the very last row never seems to delete.   I do see  both the '>' and '*' icons in the very first column of that row and the values are all cleared.   But when I shutdown the app and restart, that last row, comes back.   Here is the code for my UserDeletingRow event handler: private void dataGridView9_UserDeletingRow(object sender, DataGridViewRowCancelEventArgs e) {   // -- just to check how many rows are in grid   MessageBox.Show(dataGridView9.Rows.Count.ToString());   // ----------- ...Show All

  • Visual C# Nullable type

    I came across this question recently. Is Nullable type value type or reference type Can someone enlighten me Thx. ...Show All

  • Windows Forms problems with showdialog and visible true & false

    Hi I’m work in a system with showdialog form (Modal). The trouble is when open a modal form over other (in modal too), this open good, but when i hide it (childform.visible=false) and again open this from parent ( childform.visible=true) this one becomes visible but lost MODAL (showdialog) property. How I can make visible the child form with MODAL property piece of code to open child form Private Sub oPb_Cheque_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles oPb_Ch eque.Click If not vpb_EstadoFormCheque Then Recepcion.oFm_cheque.ShowDialog() ' Here, we will fill the form whit our data... vpb_EstadoFormCheque = not vpb_EstadoFormCheque Else Recepcion.oFm_cheque. ...Show All

  • Visual Studio Express Editions slideshow

    how can I alter this code so it displays a different image every minute.....like slideshow thanks PictureBox1.Image = Image.FromFile _ (System.Environment.GetFolderPath _ (System.Environment.SpecialFolder.Personal) _ & "\Shell2.jpg" ) why wont it work..... access to path is denied ..........in red I have changed path but is still denied Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Dim path As String = "c:\pics" Dim DI As New System.IO.DirectoryInfo(path) Dim fi() As System.IO.FileInfo = DI.GetFiles() Static Lastpic As String = "" Dim picList As New List(Of String) : p ...Show All

  • Visual Basic prevent null exception from occurring

    Hi there, I'm fairly new to VB.NET and love it but I'm not sure how to prevent a null exception from occuring. I can use the Try ... Catch to prevent the program crashing but I would prefer not to use this method. Is there a way to test for this without throwing exception I need to return a blank value for objUserInfo.Properties.Item( "mail" ).Value for example if nothing is found. I'm building a string from data gathered in active directory to output to a CSV file. It seems if a value is blank then an exception is thrown. The relevant section of code is: Dim objUserInfo As DirectoryEntry Try objUserInfo = GetUserInfo(objSubFolder.Name) ' ' Exception occurs on the following line s = s & ",&qu ...Show All

  • SQL Server two dimensional array using form designer

    How can i create a two dimensional array within a form using the form designer. This is in visual c++ form creation using the form designer. I want to create a form with five 4 byte fields across and four rows going down. ...Show All

©2008 Software Development Network