adisciullo's Q&A profile
Visual C# MDi Modal From
Hi To make a form modal we use showdialog. But when you do this with mdi forms it gives an error. So how do you show a mdi form as a modal form Thanks in advance. You can't. A MDI child has the window style WS_CHILD and what you want is change it with the WS_POPUP style. Imho it should be possible to switch the window style with a SendMessage or maybe even by overriding the WndProc, but I have never tried it out myself: WM_STYLECHANGING Notification SendMessage Function Control.WndProc Method ...Show All
Game Technologies: DirectX, XNA, XACT, etc. getting started
hello, im new to game developement (and these forums), and have a questions. first, im only in highschool, and want to get into game programming. obviously i really dont have the expierience (or patience) to learn all those languages and databases, but i want to know a good place to start, since one day i want to be a pro. i have been messing around with flash and stuff but is that a good way to start, since when im an adult i want to be ready for the next gen systems what should i start learning first Any tools that you use are good because you get involved in the subject. Since you’re still in school then you really want to concentrate on the maths and physics, a lot of the books you get on the su ...Show All
Game Technologies: DirectX, XNA, XACT, etc. xna and any world editor
hello, i 'm making a game with xna gse and i want to know if there are some world 3d editor to make a level of the game, any sugestions The freeworld and DeleD applications look pretty interesting. Does anyone know of any tutorials built around creating models and getting them into an XNA project I'm sure there's tons of tutorials for those apps out there, but I'd like to read one with the end goal of getting it into the Content Manager. ...Show All
Visual Basic Open a form and show a particular record
Hi, I have a stored procedure that returns a record dependant on a value sent to it. I have created a form that shows the detail view of the Dataset from this stored procedure. How / where do I send the form the parameter (from another other form) so that the form opens on the right record Ta. John Thanks for your answer. I tried adding a new sub and got a " Public Sub New ( ByVal recordcriteria As String ) in designer gernerated type "Trial.frmName" should call initialize method." error Also, I cant see the fill method having such a form. Get a too many arguements error... I'm OK with passing the criteria, it's just geting the criteria into the adaptor/recor ...Show All
Smart Device Development Accessing SQL Mobile DB From a Windows App
Hello, I am using VB 2005 to create a Windows app that will sync a SQL Mobile DB to an Access DB located on a pc. In design mode I can access the SQL Mobile db on the device just fine. I am using the .NET Framework Data Provider for SQL Server Mobile Edition data source with the "ActiveSync Connected Device" option. I do a "Test Connection" and it succeeds. When I run the app it will not connect to SQL Mobile DB on the device. I get the following SQLCeException: The path is not valid. Check the directory for the database. [ Path = Mobile Device\SD Card\PaverHH.sdf ] Anyone have any idea what the problem is Thanks in advance! Thank you for the answer... You said the licensing restric ...Show All
Software Development for Windows Vista How do you set a public property of a workflow with xoml?
WWF Gurus, I have an xoml state workflow with a reference to the assembly in the xoml root node. I have a composite EventDriven activity with HandleExternalEventActivity (which can work with workflow public/private properties). I need to have the same functionality (ability to set public/private workflow-level properties) before calling SetStateActivity at the end of the EventDriven composite activity. Is there a way to call HandleExternalEventActivity twice in the same EventDriven activity Any other ideas Thanks in advance, John P. John Portnov wrote: I have an xoml state workflow with a reference to the assembly in the xoml root node. I have a composite EventDriven activity with HandleExternalEventActivi ...Show All
Windows Forms Bootstrapper localization for turkish
Hello everyone, I have completed a shared-addin extensibility project for office. The project comes with a setup project in Visual Studio 2005. I have some prerequisites and I have clarified them. The output of setup project is a msi for my project and setup.exe for the bootstrapper. I can change the language of msi by WiLangId.vbs and Orca but the problem is for the language of the UI's in the bootstrapper. I found that the label strings are read from C:\Program Files\Microsoft.Net\SDK\v2.0\Bootstrapper\Engine\en\setup.xml. I changed some strings in setup.xml as including turkish characters , , but I can't see them when I rebuild and started setup.exe. They seem as I,S,G. I have made some changes to try in setup.xml as Font to Arial MS ...Show All
.NET Development Windows Service gives "5: Access is denied" on startup.
I am writing a Windows service I intend to host a TCP server and communicate with TCP client equipped applications. I used the Windows Service template to start, and wrote some code I knew I'd need to get started. I added the server installation components as described in the help, and set it to run in the LocalService account. I compiled the code as an .exe and used the installutil <servicename.exe> to install it for testing. When I attempted to start it through the service manager, it came back with 5: Access is denied. I originally attempted to start it under the LocalService account, then retried it under the NetworkService account. Same issue. Just as a sanity check, I created a bare Windows Service with no code other than ...Show All
Windows Forms Bulid up Windows Installer
Hi all, I tried used C# + DirectX9C create the demo game, How to build up windows installer with the demo game. i has wise windows installer. But i not understand how to use wise windows installer. who can give me some suggestion and give me wise windows installer good examples. Best Regards, ...Show All
Windows Forms Setting the first item in a combo box to empty/null
Hi, I have a combox box which is bounded to a data table like this: private void bindingDataToComboBox() { cmbChkin.DataSource = dtblComboBox; cmbChkin.DisplayMember = dtblComboBox.Columns["frs_user_name"].ToString(); cmbChkin.ValueMember = dtblComboBox.Columns["frs_user_id"].ToString(); } This method is called from the form_load. I need to set the first item of the combo to empty or null, so if no item is selected from the combo box it would set a boolean flag to false on button_click. But the issue is the combo box always defaults to the first "user_name" loaded automatically, is there a way to force the combo box to keep its first item as null or empty so then allow the ...Show All
SQL Server Connection Manager - No available servers
Hi Windows XP Pro, SQL Server 2005 (Developer) & Visual Studio 2005 (Pro) New SSIS project (Visual Studio) New OLE DB/SQL Native client connection. There's no servers available in the drop down box. All the services that need to be running are running. Guess I've missed the obvious here Cheers Dave Just tried entering the name manually and it worked... Any ideas why I can't browse to the instance/server ...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 you could use a StringReader to read the xml from the string into the dataset. Using your example, this works for me: string theXmlString = "<tables><row><table_name>ticket</table_name><record_key>68</record_key></row><row>"; theXmlString += "<table_name>sales</table_name><record_key>3001</record_ke ...Show All
Visual Basic Is Crystal Reports installed with Visual Studio 2005?
I have heard that Crystal Reports comes with the Visual Studio 2005 install. If this is true, please let me know how I can access Crystal Reports. Crystal reports does come with Profession Version or above http://msdn2.microsoft.com/en-us/library/b4z62wxz.aspx You should see it as a project type under New Project -> Visual Basic -> Windows ...Show All
Commerce Server Line Item extension with numeric(18,10) field
We have a requirement to store the exact tax amount numeric(18,10) on the line item level.When we extend the line item,with numeric in the xml file and the database tables and Stored procedures, an error saying the database type does not match schema results. Decimals are not supported in the xml file either. We need to know if this be done in the Commerce Server and how to do it . This is what I got back from the developer: "Can you provide the stack trace for the exception. There should not be such limitation. .Net and Sql have different precisions for decimal type. May be that’s the problem." -Max ...Show All
Internet Explorer Development IE7 Select Element Blocks Popups trigged by the onChange Event
Hello. I have the following problem in IE7: All the popups generated by the onChange Event of a <select> element are blocked by the popup blocker of IE7 (default settings). So I was wondering if anyone has a solution for this NOTE: The solution is intented for the users on my site, in other words: * I'm not searching for a solution that depends on changing the settings of the popup blocker. * I'm not searching for a solution that depends on switching to a different browser. If you are responding as a MS Developer, could you confirm to me wheter or not this is a bug and if so could you kindly help find a fix/workaround for this problem. I'm thankful for every helpful response I get, Devver. ...Show All
