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

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

yazad_gandhi

Member List

Cornel2
Remus Lacatus
Dan_Cheshire_UK
donbox5
createdbyx
IanO
GMan5309
m_umair_85
DiskJunky
RichardR
softvirgo
erodcav
bberti
cbtm
Vesigo
Crazywetfrog
cis001
Rob Relyea
rofu
tranders
Only Title

yazad_gandhi's Q&A profile

  • Software Development for Windows Vista WorkflowChanges : Problems with subsequent changes

    I'm experiencing a problem when I try to sequentially make changes to a state machine workflow. I guess I'll start with some code - note I've omitted the instantiation of the workflow runtime and the workflow instance: System.Xml.XmlReader reader = System.Xml.XmlReader.Create(memoryStream); WorkflowInstance instance = workflowRuntime.CreateWorkflow(reader); memoryStream.Close(); WorkflowChanges changes = new WorkflowChanges(instance.GetWorkflowDefinition()); CompositeActivity clone = (CompositeActivity)changes.TransientWorkflow; foreach (Activity act in clone.Activities) { Activity1 myActivity = act as Activity1; if (myActivity != null) { myActivity.MyProperty = 1; } } i ...Show All

  • SQL Server dbnetlib.dll ???

    What is the meaning of "Can't find PInvoke DLL, dbnetlib.dll" I got this error message when trying to access the server, I'm developing SQL Mobile app. How to solve this problem thx   I have two apps, with the same code on both app : Dim ConnStrToServer As String = "Data Source=myIP,1433;Initial Catalog=mydatabase;User ID=sa;Password=;" Dim connection As New SqlConnection(ConnStrToServer) connection.Close() MsgBox("This will take a minute") Try   connection.Open()    -->> ERROR!!   Dim queryString As String = _     "Update mytable set flag='PESAN'" & _     ", username='" & tbIdNumber.Text.Trim & "'" & _   ...Show All

  • Software Development for Windows Vista roles don't match will terminate the workflow

    I use the state machine workflow and add a role in one state, when the not matching role handle the event , the workflow will throw a exception and terminate. Now I want the result is that showing a message box tell that the roles don't have right to handle this event , but not terminate the workflow,How can I do, thanks Ariel, You need to model this in your workflow. For example, put the event in a loop where you only break out of it when you successfully receive the event. Matt ...Show All

  • SQL Server No full-text supported languages found in SQL Server Express with Advanced Services

    I've downloaded SQL Server Express with Advanced Services from http: / / msdn. microsoft. com/ vstudio/ express/ sql/ download/ and installed all components. When I try to create a full-text catalog, I get the following message: No full-text supported languages found. select * from sys.fulltext_languages returns no lines. How can neutral, English or maybe Hungarian word breakers be installed Thanks Hi, I am having a similar problem. How do I go to maintenance mode I also can't find anything called "SQL Configuration Manager". cheers, Bernie ...Show All

  • SQL Server FTP Task Completes but No File

    I have an FTP task that once the file is loaded a script task is activated and then a data flow process starts. I can connect to the FTP server with the Test connection and I can see the file in the remote directory "/HRData.txt" however even with the Delay validation set to true it does not download the file. I have already tried this with no affect. I guess I am going to try to write a FTP download into my script that I am executing. ...Show All

  • Windows Forms App requires installation package after upgrade?

    I am having a problem when I upgrade a previous msi installation. Following the installation of the updated msi package, when the user runs the application for the first time, they get prompted for the path the the installation package. If the msi file is still in the original location it works fine and no prompt is displayed. It didn't used to do this, so I am trying to figure out what has changed. Can anyone point me in the right direction as to what it could be Thanks, Peter So if files from the 1st installation are removed by the 2nd installation, it will require the 2nd msi file again Mmm. Is there anyway to fix it ...Show All

  • Windows Forms Troubleshooting errors after a background worker operation

    I have a simple Windows form with two buttons: - the first button calls a method that throws an exception - the second button runs a background worker whose RunWorkerCompleted event calls the same method that throws an exception My question is why the "Exception was unhandled" window displays in different places depending on whether the method was called via the background worker or not. Without the background worker, the error is displayed where the exception actually happens. When using the background worker, however, Visual Studio displays the error in Program.cs, pointing to the line: Application .Run( new TestApp ()); The latter behavior is not very helpful when debugging. It seems to me that both error wi ...Show All

  • Visual Studio 2008 (Pre-release) XAML Cross-browser??

    Will XAML ever be truly cross-browser AFAIK it will need plugins, what might directly affect client performance. Ive seen other tech, like Laszlo, and it runs smoothly in Firefox, as weel as in IE. My other fears are costs involved and time-to-market. How will this new XAML tech (and aggregated tools) be charged We subscribe MSDN for testers, then will this cover all new techs As for Time-to-market, does anyone know how is it going Thanks! It is our intent to have XAML and XBAP function in most of the popular browsers on the platforms we support. We realize we have some work to do in that area. Currently XAML and XBAP work in any browser that supports the WebBrowser control. That means IE6 and IE7, Netscape in IE mode, Ma ...Show All

  • Visual C# Learning C#

    Hi, I would like to ask anyone here for their advice on where I should start with C#. I have been programming for nearly a year now and dont know any other languages other than the VB family, such as vba, vb6 and vb.net. Since i have been programming with .net I have learned alot from the msdn library that comes with the installation of Visual Studio, and whenever looking at the example of code I still am always drawn to read the C# code. Something is just making me want to learn this language, However a good friend of mine is trying to alter my path by suggesting I learn C++. Learning C++ I would like to do, and also think I would benefit with the fact my friend knows the language. But may it not be a good path to learn C# then g ...Show All

  • Visual Basic I need help on opening a file on the computer

    I want to click a button and it will open a program in the Start Menu then it opens All Programs and then it will open a file in the all programs folder well why dont you just get a path to the file and open that is this what you want to do or do you want to see it actually pressing the start menu > all programs and clicking the file to spin up a process (run an application for example) within your app, you would use the Process class in the System.Diagnostics namespace: System.Diagnostics.Process.Start(" path\filename.exe ") and thats it. ...Show All

  • Windows Live Developer Forums Robot Invaders Contest - Who did you vote for?

    The robot invaders contest ( www.robotinvaders.com ) is closed for new entries, so all bots are in. A total of 51. With $40.000 in prizes, everybody of course wants to win. But which bot do you think will make a good chance The prizes: Grand prize (1): AlienwareR MJ-12 7550 Workstation First Prize (1): BoseR LifestyleR 48 DVD Home Entertainment System Second prize (5): AlienwareR Sentia M3200 System Third prize (10): GarminR nuvi 360 User's choice: 80 GB USB Portable Drive / DX1 Input System / LED Binary Watch The bot with the most votes on September 15th gets the user's choice award. It looks like that would be " samplebot@hotmail.com " with a total of 412855 votes! Amazing. Last time I talked to that bot though it could ...Show All

  • Internet Explorer Development Customizing IE7 for a corporate environment (tabs, passing data)

    I've been asked to research customizing IE7 for use in our corporate environment. What we wish to do is to have a set of preprogrammed tabs display when the browser is started. We'd also like the ability to pass information from a VB6 or .NET app to one of the tabbed browser sessions (like an account number or search string). I'm fairly new to browser development, so how would I go about doing this Can I do this with IE7, or will we need to hand build a tabbed interface in a windows form using a web browser control in VS2005 Thanks, Tim In IE7, you could set multiple home pages and when a user starts a new browser, these home pages would be loaded in different tabs. IE7 doesnt have tab specif ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Tabs instead of Spaces by Default, please

    Visual Studio 2003 and 2005 default to tabs for spacing, yet for some reason XNA (and perhaps Visual C# Express) defaults to 4 spaces. Further, to find the setting to fix this is a little confusing - you need to realize the "Show All" checkbox is lurking at the bottom of the Options, check that, and then restart your hunt for the "Tabs" section. Please set the default to Tabs in future versions, for everyone's sanity, and source control savings. That's exactly what I'm trying to avoid. If the team puts their code together using tabs and a new developer comes on board checking code into Source Control with spaces, by the time such a magic replace function is run you've created a big prob ...Show All

  • Visual Studio 2008 (Pre-release) Receive timeout

    Hi! I can create a simple WCF application. In service I write: [ ServiceContract ] public interface IPhotoGet { [ OperationContract ] Image GetPhoto( string name); } ServiceHost svcHost = new ServiceHost ( typeof ( PhotoImplement )); svcHost.AddServiceEndpoint( typeof ( IPhotoGet ), tcpBinding, @"net.tcp://localhost/photo" ); svcHost.Open(); And in client I write: IPhotoGet photoGet = ChannelFactory < IPhotoGet >.CreateChannel(tcpBinding, new EndpointAddress ( String .Format( @"net.tcp://{0}/photo" , tbAddress.Text))); Image result = photoGet.GetPhoto(tbPhotoName.Text); pbResult.Image = result; When I try to execute method GetPhoto, which m ...Show All

  • Visual Basic Migrate VB6 Project

    HI, I have VB 6 Project and want to Migrate that one to VS.net 2005 What are the common errors i will get at initial stage If i want to upgrate VB 6 to VS.net 2003, what errors i will get Thanks Seshu Hi Seshu, I'd recommend using the VB6 Code Advisor before using the Upgrade Wizard (you can download it at http://www.microsoft.com/downloads/details.aspx FamilyID=a656371a-b5c0-4d40-b015-0caa02634fae&DisplayLang=en ) To get a better idea of what the Code Advisor will look for, check out http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvb600/html/vb6tovbdotnet.asp With regards to whether you should upgrade to 2003 or 2005, I'd recommend going straight to 2005, since it has a more powerful Upgrade Wizard ...Show All

©2008 Software Development Network