Exploder's Q&A profile
Visual Basic Connecting Forms
Hi Every body I am biginner in VB.NET 2003!! I have a project from my college to design. I have a form with menues controle, I want to connect other form to each menu items, when ever I click on one of them other form will appear, in order to save, Edit or any thing else. And also tell me where I have to put other form I have, in order to be accessed when I click the menue item, in the same folder where menue folerm is located Example when you click on Help menu in MS word it display other option once you click one of the item it bring you a new windows (form). Thanks in advance for your help. In MDI - the child forms are contained within the main form. Examples of creating MDI applications http://www.startvb ...Show All
Visual C++ C3200 Compile Error in VC++ 2005 - Compiles Ok in VC++ 2003
Any ideas why this fails to compile with 2005 but compiles Ok in 2003 /* * Microsoft Visual C++ 2005 Version 8.0.50727-4200 * Fails to compile with error C3200 (see below) * * Microsoft Development Environment 2003 Version 7.1.3088 * Compiles Ok. * * Both have 1 C4355 warning */ namespace C3200 { namespace A { template<class _Derivate> class Z { public: Z(_Derivate& _d) {} ~Z() {} }; template<class _Derivate,class _B> class Y : public _B { public: Y(_Derivate& _d) : _B(_d) {} ~Y() {} }; template<class _Derivate, template<class _Derivate> class _B > class X { public: typedef Y<_Derivate,Z<_Derivate> > Type; }; template< ...Show All
Visual C++ very strange problem with std::string, std::stringstream and bad_alloc exception
Hi, I am developing an application which looks like this: App A uses DLL B which uses DLL C. B And C are non-MFC DLLs. A is an MFC console-app. B exports a class class1. Class1 contains a single member of Class2. Now the following code leads to bad_alloc exceptions in std::string: in A lets have Class1 *pmyclass1 = new Class1; Class1->foo(); void Class1::foo() { m_class2.bar(); } void Class2:bar() { std::string foo; foo = std::string("This string has more than 15 characters and will lead to heap corruption"); } When the last line of bar is executed bad_alloc is raised. How can that be What's wrong here Additionally bad_alloc will also be raised if you dec ...Show All
.NET Development How to count rows with data in a excel worksheet?
I have to iterate through each row and read out the values in a specific column, but I dont know how many times I should iterate. I need to know how many rows in the sheet that stores data. How do I do that I can't find any length parameter on the worksheet object. Try the following: Dim ConnectionString As String ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\Test Files\Book30.xls;" & _ "Extended Properties=""Excel 8.0;HDR=No;IMEX=1""" Dim ExcelConnection As New System.Data.OleDb.OleDbConnection(ConnectionString) ExcelConnection.Open() Dim ExcelCommand As New System.Data.OleDb.OleDbCommand ExcelCommand.Connection ...Show All
Visual Studio 2008 (Pre-release) Adding local namespace tag disables XAML intellisense
Having the following tag in my code seesm to make intellisense not work for XAML. As soon as I comment it out, it works again. <local:XamlGraphicConverter x:Key="xamlGraphicConverter" /> < Window x:Class = " X5Client.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:System = " clr-namespace:System;assembly=mscorlib " xmlns:local = " clr-namespace:X5Client " xmlns:d = " http://schemas.microsoft.com/expression/interactivedesigner/2006 " xmlns:mc = " http://schemas.openxmlformats.org/markup-compatibility/2006 " mc:Ignorable = " d " ...Show All
Windows Forms Typed DataSet's with Large Amounts of Data
Is there any documented maximum number of tables, relations, or records in a typed DataSet object in .Net 2.0 I have a large DataSet (the select command returns 24 result sets with tens of thousands of records total (approximately 90K records of varying sizes.)) If I fill from a DataAdapter into an untyped DataSet, the fill operation returns in just over 1 minute (approximately the time of the select procedure.) If I then merge this untyped DataSet into my typed data set (after calling BeginLoadData on each table) with constraints turned off (EnforceConstraints = false) the merge takes approximately 20 minutes. If I then enable constraints, the program runs for slightly over 20 minutes, and returns an Out of Memory exception. I expec ...Show All
SQL Server Four-Part Name Requirements for OLE DB Providers
Could any one pls Explain about the Four-Part Name Requirement for OLE DB Provider. Thanks -Sivaraman Latchapathi Did that answer your question HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Community Chat Wireless Speaker System
Hi I like to design many things and im wondering if its possible (and if its already been made) a speaker system where you can keep adding more to your system. Basically you have the transmitters, these will be plugged into anything that plays sound from a PC to a TV or Hi-Fi system. There can be only one channel where all these play to so you can have either one thing playing or more than one thing Then you have the speaker which recieve the audio from all the transmitters, the speakers can be added in any number so you can have a few in each room of the house. Awesome for a party! Im stuck on the power for the speakers becuase the transmitters can be plugged in but haveing ever speaker plugged in to the wall or every speaker ...Show All
Software Development for Windows Vista How to cancel the branch of a ParallelActivity that does not complete
Here's my situation. I ParallelActivity with two branches; one branch needs to continually check for a certain database condition. The other branch waits for a period of time, sends an e-mail, waits for another period of time, and then sends a final e-mail. My problem is that when one of these branches finishes I need to cancel the other. I have a working solution but don't like it much. When one branch finishes, I throw an exception and then catch that exception at the ParallelActivity. This, of course, causes the other brances in the parallel activity to cancel, but surely there is a better way. I could write my own Activity that implements IEventActivity and then use a ListenActivity which would cause all other activities to cancel when ...Show All
Visual Studio Express Editions Help Needed
Hi folks, I need to locate a tutorial for a craps dice game for learning purposes can someone help with a link or something any other information will be helpful. Thank you for your support. DKB Spotty I originally asked for a tutorial I understand now that I should have worded my original request better and thanks for the help to understand how to communicate in these forums better. DKB ...Show All
Software Development for Windows Vista Fault handling in RC2
I can't seem to get fault handling to work in RC2. It worked for me in Beta 2.2. I have a state machine workflow that I've published as a web service. I've added a fault handler activity with one code activity as a child. My code activity gets executed, but then, when I retrieve the Fault property of the fault handler activity, it's always null. Any thoughts You need to be using GetActivityByName(string,bool) to get the correct activity. Because of spawned contexts in a StateMachine you are getting the template activity an not the actual instance. For more info on spawned contexts take a look at Nate's blog post . ...Show All
Software Development for Windows Vista RingTone FileName (.amr) is not saved on my mobile handset properly --it needs some new MIME types
Dear Microsoft: I have created a Mobile Application in C# using Visual Studio.net 2003. I am sending a WAPPush SMS to users who may request Mobile Services such as (Ringtones, Pictures). I have a problem in downloading ringtone(True Tone of file extension AMR) on WAP Browser, the ringtone name is not saved. After downloading the Ringtone file takes the link file name "userlink" which appears in url(ex, url: http://IP/webapplication userlink.aspx pwd=887768). The ringtone is saved as userlink.amr on mobile handset after downloading. I can download file type AMR (or in MP3...) from my Web Browser but it is not saved on mobile handset in its real name just it can be heard. Moreover, the filename and length have been specified in ...Show All
Visual Studio Team System WssTasks.XML and target filename
Hi, I'm trying to customising the filename under < documentLibraries > in the WssTasks.xml file. Is it possible to set the filename to the corresponding project Shortly, I want to prefix my files with project name. I tried to use the $$PROJECTNAME$$ variable the is used in the workitems.xml file, but got an error when uploaded the new template. See the example below: < file source = " Windows SharePoint Services\Test\[Project Name] - Test Plan.doc " documentLibrary = " Test " target = " $$PROJECTNAME$$ - Test Plan.doc " /> It it possible to get this automatically when creating new projects hey...i really confused...i found that the s ...Show All
SQL Server Error access Custom Assembly in Deploying
Please, i did a class in C# that return a array of bytes... in preview mode (design) i can see this return, but when i use Deploy (Server) i can’t see. I already put the lines on of security in file srrsvpolicy.config and copy the file dll to folder, however i cant see the result. Anybody help me I’m using: - SQL 2005 - dll no strong name Thanks Jota Assuming you have put the right security settings and deployed the assembly to the Report Server bin folder, your method may need additional CAS security rights depending on what your code is trying to do, as explained in more details here . What I suggest you do is put a breakpoint in your assembly code, attach to the ASP.NET process, and run the report ...Show All
Windows Live Developer Forums Custom Domains SDK help
Hello I wanted to know what I need to do to get the CD SDK working! as you can see here http://xpmail.net/wsdlclient7.php I am getting the data I need most of the time. but I can't get stuff like "GetLoginDataTemplate" if I use the url as is in "https://domains.live.com/service/managedomain.asmx WSDL" with just http:// I get an error saying it needs https:// then it says it not there! can any one help with this since the example in the SMK download is lacking the most important parts! I mean it shows how to call functions that don't exist unless you have HTTP/Request.php I don't see what good SampleSOAPphp.txt is with out the functions! any way thanks for any help! Hello ...Show All
