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

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

Dietz

Member List

Matty4242
DRoden
1Dave
kholling
nathanshih
Alex Yakhnin - MSFT
Smartcard User
stephanielauym
tfr294036
rebeccat
rjShadow
airwalker2000
hhewson
RoggA
FranzCarl
Noorul Ahmed
Werner Clausen
Beetle54
Art Walker
RyanB88
Only Title

Dietz's Q&A profile

  • Visual Studio 2008 (Pre-release) inline an image into XAML

    is it possible to inline an image into a XAML document possibly using a CDATA section ... Thanks, casey just threw some code in :) < Window x:Class = " WindowsApplication1.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Loaded = " Window1_Loaded " > < StackPanel > </ StackPanel > < x:Code > <![CDATA[ void Window1_Loaded(object sender, RoutedEventArgs e) { this.Title="yoohoo"; TextBox tb = new TextBox(); tb.Text="hello world"; StackPanel sp= this.Content as StackPanel; sp.Ch ...Show All

  • Software Development for Windows Vista Pseudo Code anyone?

    Ok Experts, I am looking for nothing more than pseudo code at this point - I've done little more than dabble around with the UI, created a simple activity, done some limited persistence etc.. Here's what I would like to do: Create a new WF instance Persist, and place the Instance GUID in a table, along with other attributes Present this list and allow selection Open the WF Instance again, and munge around with it - add properties etc.. Continue along the WF route and evaluate rules as necessary Persist again, etc.... Essentially I am not seeing the easy way to open a WF instance, work on something related to it, then update some properties and have it reume it's path ... Anyone care to point me in the right ...Show All

  • Smart Device Development WM 5.0 Smartphone AKU3 Image for emulator?

    Is there a Smartphone AKU3 image available for use in the emulator ...Show All

  • Visual Studio Tools for Office how to turn off outlook security warning dialog box using C#

    Hi, How can one get rid off the  Security Warning dialog box which pops up when you try to access a property of ContactItem in Outlook 2003 I'm using Visual Studio Team Suite Beta 2, Microsoft Outlook 11.0 Object Library, Outlook 2003. I've written a webform to get the list of contacts and display it in a listbox. But everytime the webform loads, an outlook security dialog box pops up. I'm not sure if this is the right forum but I couldn't find another one specifically for Outlook 2003 programming. Here's the code. protected void Page_Load( object sender, EventArgs e) { Outlook. Application app = new Outlook. Application (); Outlook. NameSpace ns = app.GetNamespace( "MAPI" ); Outlook. MAPIFolder contac ...Show All

  • SQL Server Login failed for the user (using windows integrated security)

    Hello Everyone, I am trying to connect SQL database through code but I get this error,I have spent days to solve it but unfortunately I couldn't...Here is my code in VB express(OP:windows 2000 with SP4)I am new to VB,so it makes the situation more difficult for me. my code is: Public Class Form1 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim conn1 As SqlConnection = _ New SqlConnection( "Data Source=.\SQLEXPRESS;" & _ "Integrated Security=SSPI;" & _ "database=deneme3_database;" ) 'Open connection conn1.Open() MessageBox.Show( "Connection succeeded." ) 'Close conn ...Show All

  • Visual Studio Express Editions Save project as

    Is there any way to save a whole project as a new name (new project) - not just Form1 I miss a file menu point like "Save project as". A VB project consist of an awful lot of files in nested libraries so if you want to test a modification it would be very nice to be able to save the entire project under a new name. That functionality does not exist in .NET Work around is to manually copy the entire directory to a new directory and rename the *.VBproj/*.sln/*.sou file(s) ...Show All

  • Visual C# Hide/Show form while retaining Info

    Is there a way to load info to a form from a file (ie text to labels,etc.), from that form call another and hide the first only to later unhide the first from an object on the second from. PROGRAM FLOW: 1)Start up 2)Press a button info comes up 3)Press another button to a)hide form1 and b)show form2 4)Do stuff on form2 5)Press button on form2 to a)make form1 visible again and b)close form2 6)Form1 still has info loaded in step 2 I've got everything working but when I make form1.visible = false to make it disappear then make it re-appear through an object in the code for form2 all the info I loaded is now gone. Can this be done Thanks Thomas You can use the Form.FormClosed event to get informed when a for ...Show All

  • SQL Server Removing protected beta files

    I cannot install SQL SErver 2005 because of files still on my hard disk from beta version. These include sqlmgmprovider.dll and svrenumapi.dll. The uninstall program is no longer available. How do I get rid of whatever remains of the old beta installation so that the released version of SQL Server 2005 will install Hi Sam, Thanks. your suggestion did the trick. I unistalled the corrupted version of SQL Server that I had just installed, rebooted, and installed it again. This time it worked. Allen ...Show All

  • Visual Studio Team System Visual Studio hangs when I try to "Check Out" a file from TFS Source Control

    Help! Starting 2 days ago I found that if I tried to right click on a file in TFS source control, VS would just hang. I could only close it by ending the task in task manager. I tried the repair option for Team Explorer and also tried the SP1 upgrade. It's still hanging anytime I try to manually check out a file via the source control explorer. NOTE: It seems as though I'm still able to check out files if I'm in a solution. But not directly from the Source Control explorer. And this issue is only affecting me. The rest of the team is fine. This is becoming more than annoying. Thanks for any help. Sincerely, Here's the log.... thanks again! 1/8/2007 3:35:15 PM (pid 2328, tid 348, 0 ms) ConnectionLimit = 32, Bypas ...Show All

  • Visual C# Time Passed

    Is there any way to determine the amount of time that has passed from one specific point to another I.E. If the user logs in at 16:00 and logs out at 21:00 is there any way to tell that 5hours have passed Cheers Thomas ok so this is for your application. When user logs in, declare a global variable to hold the start time. private DateTime theStartTime = DateTime.Now;   now, when application is closing, on the Form_closing event (or perhaps implement the ApplicationExit event), simply do your calculation here. You take the current DateTime and find the difference between Now (exit time) and the start time. private void form_closing(object sender, FormClosingEventArgs e) { &n ...Show All

  • Visual C++ ReadProcessMemory crashes computer

    I am using CreateProcess, then using the process handle that returns and passing it to ReadProcessMemory. I have about 10 addresses I iterate through using ReadProcessMemory on each of them every 200 ms. Whenever there is a change detected in one of them, it will output the string ReadProcessMemory returns from the target process's memory. When I print this string to the console, my computer will emit an extremely loud system beep and crash, or it will just emit an extremely loud system beep. I haven't tested my program on any other computers yet, but if it is a computer specific-issue, but I'm running the program on a Dell Inspirion 9300 laptop. On a related note, if I'm playing a game or doing something else fairly processor intensive (r ...Show All

  • Smart Device Development TextureBrush with Transparent Image

    Hello, I'm trying to use a TextureBrush in .Net Compact Framework 2.0 but, it does'nt seem to work. in a simple testapp i have a form with a button and a panel. the panel1_Paint - method looks like the following private void panel1_Paint( object sender, PaintEventArgs e) { e.Graphics.Clear( Color .Green); ImageAttributes attr = new ImageAttributes (); attr.SetColorKey( Color .White, Color .White); TextureBrush b = new TextureBrush (Properties. Resources .raster_eingetroffen); Rectangle destRect = new Rectangle (50, 50, 11, 11); e.Graphics.DrawImage(Properties. Resources .raster_eingetroffen, destRect, 0, 0, 11, 11, GraphicsUnit .Pixel, attr); e.Graphics.FillEllipse(b, 0, 0, 50, 50); ...Show All

  • SQL Server Importing data using import service/DTS

    Hi, I'm using Sql server 2005 and I need to import about 15000 records from a txt file which is delimated using " | " character. Part of the problem is that the file has about 109 fields. The other part of the problem is that there aren't any headers defined. The field name and their respective data types are defined in a sepearte excel sheet. When I'm trying to import it using Sql Server 2005 import wizard, I would have to modify the names and the length manually and change the data types which is a time consuming job. My boss has claimed that he did it in Sql Server 2000 without using BCP utility and he got the table columns from the excel file (he didn't have to modify it manually somehow he import it) but he can't really remember !! ...Show All

  • Silverlight (formerly WPF/E) "Loading" Support

    Does anyone know of a good location for an example of how to add a "Loading..." sort of support to WPF/E My assuption is that some small XAML is loaded to do the "Loading" screen, then another XAML object is loaded via AJAX or XmlRequest to do the loading of a larger amount of XAML or code. Ideas WPF/E Pad does this. It shows the main UI which is fairly small from a download perspective and then use XMLHTTP to download additional XAML. A textblock updates the user of which files is being downloaded and is hidden after the last file has been downloaded See it here . Source is here . ...Show All

  • Visual C# how to load datatable with xml

    <tables> <row> <table_name>ticket</table_name> <record_key>68</record_key> </row> <row> <table_name>sales</table_name> <record_key>3001</record_key> </row> </tables> how can i load a datatable with above xml string How do we put the xml < a loan = " 1 " > < b Payee = " A " amt = " 300 " /> < b Payee = " B " amt = " 409 " /> < b Payee = " C " amt = " 390 " /> </ a > < a loan = " 2 " > < b Payee = " A " amt = " 200 " /> ...Show All

©2008 Software Development Network