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

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

Marzk

Member List

DKB
djchapin
Joe Simmonds
preps
ShAdeVampirE
timay
aarongreenberg
Wallace_
Mohan1
Steve Huckett
aaks
Ralf Kornmann
pd_tch
PsychUK
Kur Lan
Kyong Kwak
Satyavani
Bear23
tlc660
Praveen Raj
Only Title

Marzk's Q&A profile

  • Software Development for Windows Vista Cancelling Workflows Spawned From InvokeWorkflowActivity

    It seems like there must be some way to cancel workflows spawned from an InvokeWorkflowActivity. I currently have two sequential workflows set up such that one workflow performs a set of intialization activities and then at some point, in a ReplicatorActivity, I execute an InvokeWorkflowActivity for a given number of times. The InvokeWorkflowActivity operates asynchronously such that as soon as it executes, it completes (does not wait for spawned workflow to complete). Once the ReplicatorActivity finishes, I have a WhileActivity with a HandleExternalEventActivity which receieves notifications from the spawned workflows that they've completed. In some scenarios, though, let's say only one of the spawned workflows needs to comple ...Show All

  • SQL Server How to change standard saving folder?

    Hello, My english is not the best, but i will try my best. I want to change the saving folder for the database from my systempartition to my datapartition (from c:\blabla to d:\mydata), but i dont know how. I can see the folder but it is in gray font and unchangeable in the server configuration tool. Greetings Thomas To change the default database locations (for ALL future databases) right-click on Server Name (in Object Explorer) -> Properties -> Database Settings you'll see 2 lines under " Database default locations " Data: PATH_NAME Log: PATH_NAME hope this helps ...Show All

  • Visual Basic Timer: Elapsed event doesn't trigger

    I've started learning vb.net and created a custom timer class. The problem is that the elapsed event doesn't trigger. Can anybody tell me why this is the case   Option Strict On Public Class Form1     Dim WithEvents MyTimer As CustomTimer     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load         MyTimer = New CustomTimer()     End Sub     Private Sub btnStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStart.Click         MyTimer.HourLeft = Convert.ToInt32(TimePicker.Value.Hour)    & ...Show All

  • Windows Forms taking variable from Public Form1()

    how can i reach initial variable from functions_ public Form2() { InitializeComponent(); string[] dizi = Directory.GetFileSystemEntries(@"d:\deneme\"); int tanedosya = dizi.Length; kayit[,] b = new kayit[tanedosya,300 ]; //her olcumun 7000 olcum de eri olabilir b=sinifa_gonder(b); } public void k() { i need "b" in here.. } ...Show All

  • Visual Basic Creating Group box in Run Time and associating option buttons to it

    I want to Create 2 group box control in run time and associate 2 option button each in the two group box. How do I do . Please help You can do this as Dim gr1 As New GroupBox with gr1 .nage = "GrpBox1" .Top = 10 .Left = 16 .Width = 24 .Height = 16 .Visible = True end with Form1.Controls.Add(gr1) now create the redio button as like the group box. and use the code as below to add the redio button to the group box gr1.controls.add(rediobutton1) and you can add the event handler as fallows AddHandler <event name, AddressOf <function name> ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to draw primitives with removed hidden lines only? Direct3d 9

    Hello, I can to render some object (cube ekz.) with lighting and filling of it's sides by light color. But I need to draw only edges whith removed hidden lines, without fillng. And, it's possible, to set color of the edge. How i cant to do it One way that I've done this is to do a z-fill pass before drawing the object in wireframe with appropriate z-bias configuration. It gets pretty close to what you want (but you'll still get interior front-facing edges) and a lot better than just messing with cull-modes and wireframe. D3D10's geometry shader would be pretty good at this sort of thing You might be able to hack a similar implementation into a line-list. If you attach the normals of the shared tria ...Show All

  • Visual C# Print Forms.Panel

    I have a form that contains a single Panel (which contains a bunch of stuff). How can I print that Panel this looks like the chunk of code that i'll be needing to print out a log sheet with embedded barcodes and some other controls contained in a panel control which is the full size of an 8.5 x 11 page. what is the entry point to this process do i call DoPrintInBackground to get the panel "capture" started, and then it goes right to the printer or are there multiple calls to the different parts required to get from screen to paper thanks in advance for your reply. ...Show All

  • Software Development for Windows Vista Application Verifier detects error in AfxSocketInit()

    My MFC application calls AfxSocketInit() in my InitInstace, then AfxSocketInit() cause " Access was restricted to trusted users only."(StopCode =" 0x331B ") Error. This App is made by Visual Studio 2003. What Shall I do to escape it Thx. Hello Nori_at_Japan, Do you receive this error if your application is elevated: (Right Click on EXE -> Run As Administrator) If so could you provide the AppVerifier logs for both scenarios Also you might want to try running under XP SP2 compatibility mode (Right Clicke on EXE -> Properties - Compatibility Tab -> Check Run this program in compatibility mode for: -> Select Windows XP (Service Pack 2) from the drop down list. Hit apply an ...Show All

  • Visual Studio Express Editions Convert Byte Array to Int, Long, etc.

    Does anyone have a quick way of converting a byte array to an integer, long, etc. I have been trying different encoding types and also a Marshal.Copy but I keep getting unexpected results. I have a byte array (00 00 48 65). I know that that byte array value (as an integer) equals 11. I just can't seem to write the code to do the conversion. Any suggestions   nobugz wrote: The SDK is incorrect.  It is not a RECT, it is a structure equivalent to the .NET RectangleF structure.  The members are Single, not Integer. Grrrr.... This problems gets more and more bizarre the more I look at it! It seems the GetRegionData.Data doesn't always return the data as RectangleF ...Show All

  • Visual Studio Express Editions Problem: Get Hardware Information

    I create one project to get Hardware Information, including HardDisk Serial Number(unique one provided by Manufactures, not Volume Number by File System) and Baseboard Serial Number(provided by Manufactures). Environment is VB2005 Express , WMI method and XP. It can work and get correct HD serial No on XP, although getting speed is a little slow. But it gets nothing on Win2000. Would you please tell me how to get these information in Win2000 and WinXP please check http://msdn2.microsoft.com/en-us/library/8z6watww(vs.71,d=printer).aspx .NET Framework System Requirements:Windows Management Installation(WMI)(Installed with operating system on Windows 2000, ... and Windows XP) ...Show All

  • Visual Studio 2008 (Pre-release) Mousewheel Event in xaml

      Hi,           Actually my problem is that, I want to rotate the sphere in both direction based upon the mouse wheel arguements.So, i want to give triggers and story boardsin the code behind. Or how can i create this one in XAML itself. Can u solve the requirement ...Show All

  • .NET Development Dictionary container serialization problems.

    I have a dictionary datamember that I am trying to serialize and get the following error {"Cannot serialize member InstrumentUI.Tallie.UserSpecificData of type System.Collections.Generic.Dictionary`2[[System.Byte[], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[InstrumentUI.Tallie+UserTally, InstrumentUI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], because it implements IDictionary."} Does this mean that you cannot serialize the dictionary data member. And if so is there antoher container that I could use. I need a data member that can store a byte[] as the key and hold another datamember that stores a string as the key and an in for the value. any ideas. I was using the dictiona ...Show All

  • Visual Studio Team System Credentials of the SubscribeEvent WebService

    I'm using the WorkItemChangedEvent and subscribe the Event to a WebService. The Credential of this WebService is the credentials of the tfsservice account. Normally you can change the Credentials of a WebService: service.Credentials = System.Net. CredentialCache .DefaultCredentials; But how can I change the Credentials of the WebService which is subscribed on the Event I donot see why changing credentials of a subscribed event webservice would be different from other webservices. What problems do you see if you change credentials like you mentioned Ofcourse the webservice should be callable from eventing subsystem and I am not aware of any restrictions beyond that. ...Show All

  • Visual Studio How to detect Build Failed from a batch file

    I'm running msbuild from a .bat file on a project file that VS05 kindly wrote out for me:- MSBuild Helper.csproj /t:Rebuild /p:Configuration=Debug Pretty easy stuff, and I haven't even had to delve into the intricacies of .*proj files. But how to detect from within my batch file whether the build failed or was successful TIA I guess you could use this, instead - mybuild.bat @echo off msbuild Helper.csproj /t:Rebuild /p:Configuration=Debug set BUILD_STATUS=%ERRORLEVEL% if %BUILD_STATUS%==0 echo Build success if not %BUILD_STATUS%==0 echo Build failed ...Show All

  • Smart Device Development How to load .exe file on Pocket PC 2003 emulator as VS.Net 2003 Debugger

    I am modifying an .EXE file using VS.Net 2003 but do not know how to load the file on the Pocket PC 2003 emulator to use it as the debugger. Is there and activesync setting that has to be established; cannot type in the "Use this PC:" block the name of my PC When using Embedded Visual Basic 3.0, I could use Windows CE Remote File Viewer for adding programs to the Pocket PC emulator. Yes I know VS.Net 2005 is out but am designing only to my personal PPC 2003 PDA. I am trying to learn this by self study and just getting into it now so please keep it simple if you can help. Thank you. I am sorry this forum is dedicated to questions related to Device Emulator shipped with Visual Studio 2005. You may ...Show All

©2008 Software Development Network