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

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

Tryin2Bgood

Member List

manju_ambare
Mile Petrov
DC Ross
Tim Chan
zaboboa
Anupam99
Santosh Ransubhe
mhoran
Bo416
donkaiser
twaltz
whitie
TheMaj0r
doener
Jessica Alba
Ekart Laszlo
HarveyC123
cstrader
GBNeil
CSharpShooter
Only Title

Tryin2Bgood's Q&A profile

  • Windows Forms Check if Component is Unique

    How can I give a component the functionality to check itselfe if there is the same ComponentType on a Form or UserControl Try this: Declare one of the methods above in your class, in the load event of a new object of your Component/UserControl, check if the control will be unique or not, if not, through an Exception with a descriptive method. I think that for most user controls and components, Load event will be fired at design time and if the constructor throws an exception, a message will be displayed! The constructor is not the right place to do this! I tried the following in a user control in the load event and it works fine (it displays a message wi ...Show All

  • Visual Studio Express Editions TableAdapter Query based on a form field

    I'n new in VB 2005 Express and i want to do something like cascade listboxes (2 listboxes). The 1st listbox contain colour from a Colour Database Table with one 'id' The 2nd listbox contain car from a Car Database Table with a field called 'colour_id' that have de number from 'id's Colour Database Table. I think you see whaty i whant When i select on the 1st listbox one colour, the 2nd listbox is updated with all of the cars with the 'colour_id' from Car Database Tabe = 'id' from Colour Database Table ------> That's the easy part. The part with lots of problems is to build the Query from the designer way. I'm doing like this: 1. In the Car DataSet, I click: "New" - "Query" - "Use SQL statments" - "SQL ...Show All

  • Visual C# How to give all users full rights to registry key ?

    Hello! I create some keys in registry and I want to each user has full rights to this keys. So I use AddAccessRule like: RegistrySecurity rs = new RegistrySecurity(); rs.AddAccessRule(new RegistryAccessRule(" Users ", RegistryRights.FullControl, InheritanceFlags.None, PropagationFlags.None, AccessControlType.Allow)); key = Registry.LocalMachine.CreateSubKey(someKey, RegistryKeyPermissionCheck.ReadWriteSubTree, rs); key.SetAccessControl(rs); It works when I run this on english version of OS because there is user group like ' Users '. But it does not work on other language version of OS (there isn't any group like 'Users'). How to solve this problem Thanks a lot. Sebastian Hello! I've do this li ...Show All

  • Visual Studio 2008 (Pre-release) Programmatic Mex Binding

    Is it possible to expose a Mex binding programmatically In order to enable Mex the only way I can see is to use Config file settings and while this works in most siutations I have an Interop Scenario where using Config files is quite a bit of a pain. Is there a way to have a host expose these endpoints I can't seem to find the Binding class to use. Also, in this same interop app I can't seem to get Mex to work even with the .Config file. < xml version = " 1.0 " encoding = " utf-8 " > < configuration > < system.serviceModel > < services > < service behaviorConfiguration = " WcfFoxServiceBehaviors " name = " WcfFoxServ ...Show All

  • SQL Server sp_cycle_agent_errorlog fails/SSMS recycle Agent log fails

    Hi, The sp_cycle_agent_errorlog stored procedure fails on our primary SQL Server 2005 server; the SSMS context menu option (right click Error Logs under SQL Server Agent in object explorer) to recycle the agent log also fails. If we run the SP then we get the following: Msg 22022, Level 16, State 1, Line 0 SQLServerAgent Error: 32. If we try the SSMS option we get this (in a nice dialog): Cycle agent error log failed for JobServer 'UKSQL04'. (Microsoft.SqlServer.Smo) Additional information: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) SQLServerAgent Error: 32. (Microsoft SQL Server, Error: 22022) We are running SQL Server 2005 x86 Enterprise E ...Show All

  • Software Development for Windows Vista Host a statemachine and have multiple client applications receive events

    Hello, I would like to have an application hosting a number of state machine workflows and have a number of client applications post events to update the workflow and receive the events to notify the client applications of these updates. Is this possible and if so can anyone point me in the direction of a sample. TIA Trevor. Lab 1 illustrates  communication between 1 or several client app and the host application : from the client to the server. If I understand, the next problem is: when 1 client update the workflow you want the others apps to be notified; it's not a workflow problem, but just a communication problem from a server (the host) and the other client apps ex client 1 send an event ...Show All

  • Visual Studio Express Editions Registration

    I cannot register the product. I have a geniune licenece key. But the registration form keeps coming back with invalid email address Any Ideas Apparantly it seems there is a problem with certain profiles. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=567005&SiteID=1 Update the e-mail manually via http://profile.microsoft.com and register again. ...Show All

  • SQL Server Package variables

    Couldn't quite find the answer I was looking for via a forum search. I have 9 packages that are currently called by a master package - all child packages take a datetim e variable from the master package which is subsequently used in the child processes. The question I have is that if I run the master package manually from Visual Studio I can set the master package variable manually to a date of my choosing and run it, which works fine. However we will be wishing to automate the package execution at some point and want to know the best way to run the package(s) on an automated basis and have the data variable supplied to the master package. What would be the best way to do this Presently we have a variable called MasterPackage ...Show All

  • Visual C# How to convert an Excel file into XML and XSD files

    Hi, I have an excel file which has several columns similar to database table, which we like to convert into XML and XSD files. How can we achieve this using C#. Thanking you, Regards, Prashant take a look at these threads they provide ideas and code samples: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=460026&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=509957&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=546589&SiteID=1 hope this helps ...Show All

  • .NET Development Repeating Element Name Problem with xsd.exe

    Hi, i generated a dataset with xsd.exe by my xsd file. What i am trying to do is to fill the dataset and generate an xml as fallows (It is valid for my xsd): <root> <ELEMENT1> <ELEMENT2>11<ELEMENT2> <ELEMENT2>22<ELEMENT2> <ELEMENT2>33<ELEMENT2> .......... <ELEMENT1> <root> Anyway, with the datasate created. When i add an ELEMENT1 Row it always generates the xml like: <root> <ELEMENT1> <ELEMENT2>11<ELEMENT2> <ELEMENT1> <ELEMENT1> <ELEMENT2>22<ELEMENT2> <ELEMENT1> <ELEMENT1> <ELEMENT2>jhgkjhk<ELEMENT2> <ELEMENT1> <root> I think it is because ELEMENT2 is a ...Show All

  • Visual Studio Express Editions Adding a record to a SQL server database using visual basic 2005 express edition

    Hello all, I was wondering if someone code provide some information as to adding a new record to a database during run time. I need to know how to do this in code, i understand you can drag and drop the data source information onto a form and a data binding navigator is place on the form which has an add tool strip button, but i would like to have my own button to add entry rather then relying on the produced databinding navigator. I hope i am making sense in this post. Any help on this issue would be greatly appreciated. Thank you for your time. James I hope, I did understand you correctly: You just want to add a record in a Table without using this "Drap&Drop" - Thing Well that's p ...Show All

  • Visual Studio 2008 (Pre-release) WPF\E C#

    Hi, 1. I need to run a WPF/E application from Apache server. Any Steps 2. What are the restrictions on using WPF/E 3. I need to develop a Graphical Interface using WPF/E which should be controlled by the values i get from from SQL SERVER DB. How should I proceed for the same How to add c# code to WPF/E applications [ Important ] Regards Vijay Hello, 1) WPF/E can run off any server as it is just serving .xaml text files. You might need to setup the MIME type for it. 2) It hasn't got a Go Live license yet as you would expect, so it cannot be used on a production server/site. 3) WPF/E doesn't contain any data bindings so this is not possible (as far as I know) - might be work around ...Show All

  • Visual Studio Express Editions Please help w/Registering VB.Net Express Edition. 2005 So many problems and it takes forever

    Please help there are many topics about this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=335745&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=574062&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=567005&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=570849&SiteID=1 Registering is not required to use the product, but it does give you access to a free e-book and some other resources. There is also a forums dedicated to install and registering the express editions http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=24&SiteID=1 Hope that helps ...Show All

  • Windows Live Developer Forums Can not control virtual earth map in the invisible view?

    I am using vc to develop a program for microsoft virtual earth map,when I use dialog to display the map I can control the map by calling javascript function in the html, but when I use a invisible view to load the map, it seems that it can load the map, but when use the same javascript function to control the map, I can not get the map,my program in dialog and in the view are almost the same,please tell me why or suggest a method to control the map in the invisible view. I appreciate your help. I have the following code in my program, I get the point of the Document as follows, I want to know if the document which I get from the program is the same as which you mentiond in the statement:document.getElementById( 'MapDiv' ).st ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2D Game - 3D Perspective

    I have a game working in 2D. Is it possible to add a camera to the screen and move it up and away to create a 3d perspective but still have the game work in 2D. I am not sure changing the camera angle will give you your desired results, especially if you want any form of "fake" depth on your gaming area. You might want to look at some of the tutorials on isometric game designs. The game I am working on is Isometiric. That's why I am bringing this up. Ego ...Show All

©2008 Software Development Network