-M-'s Q&A profile
Visual Studio Express Editions Crystal Report 10 in Visual Basic Express Edition
Hi..I'm having problems with printing my report..I downloaded VB Express Edition from Microsoft.com and found out that the package doesn't have a crystal report template..I bought crystal report application and decided to incorporate the report I made on it in my VB Project.. My problem is that I want to print a report of the materials to be shipped in a certain period..My code is like this Private Sub cmdPrint_Click( ByVal sender As System.Object, ByVal e As System.EventArgs ) Handles cmdPrint.Click Try ReportXL.SQLQuery = "SELECT * FROM T_SUB WHERE EXFACTORY >= ' " & cmbfrom.Value & " ' AND EXFACTORY <= ' " & cmbto.Value & " ' " ReportXL.Action = 1 Catch ex As Excepti ...Show All
Visual Studio Cross project code generation
Hi, I'm very new to actually working with DSL and software factories, so the questions can seem a bit dumb. Here it goes: If I create a new DSL and an acommpanying custom tool, I can generate code by walking over the diagram. Is there a way that the generated code can be split accross existing projects in a Visual Studio 2005 solution Would referencing artefacts that belong to other projects in a diagram (e.g. a diagram in a data access layer project has a reference to a business component in another project) be a good and allowable practice That's it for now Any help or feedback is highly appreciated. Regards, W. Jansoone The things you're mentioning are possible, although not 'out of the box ...Show All
Visual C++ please help! compile error
hello, I have following error in visual c++/win xp when compile a file. Please help! Thank you very much! d:\Microsoft Visual Studio .NET\Vc7\atlmfc\include\afxv_w32.h(216): error C2664: 'GetWindowThreadProcessId' : cannot convert parameter 2 from 'void *' to 'LPDWORD' I'd like to thank eniaros and others for your kind help. Based on your suggestions, I just found the problem is I used LibTiff library and NULL is defined as (void*) 0 in that package. Thanks again! ...Show All
Windows Forms No-touch deployment .NET Framework 1.1
I am having a problem with an application which is a NTD. The application cannot see the Config file, inspite of the config file being downloaded. I checked the GACUTIL to see the download cache all the necessary dlls are downloaded. I checked to Temp Internet files, it had all the necessary files including the Config file, but the application comes back with an error which indicates that I could not read the config file. Can anyone tell me what is happening. Also the security policy was deployed from the web server. The application is deployed on the MACHINE Level with FULL TRUST access. Please help ...Show All
SQL Server Top-Variable-Case
Hi, I have something like the following in a stored procedure. SELECT DISTINCT top @rowCount a,b,c FROM tblA ORDER BY c DESC The @rowcount value is passed in by the user to the SP. It can be 0 or >0. Do I need to write two queries - one using the TOP keyword as above and another with no TOP as follows: IF @rowcount>0 SELECT DISTINCT top @rowCount a,b,c FROM tblA ORDER BY c DESC ELSE SELECT DISTINCT a,b,c FROM tblA ORDER BY c DESC Or...is there some other construct (such as CASE - which I tried but couldn't get to work) that can handle this condition-check from within the query Thanks much. I'd rather not use SET Rowcount because this SELECT is actually part of an IN ...Show All
Audio and Video Development wmp app ... filtering song menu question
Hi All, I'm developing a media player using WMP activex control. The idea here is to integrate the media library into an ipod-style menu filtering system, within this .NET GUI app i'm building. So, the user would see a large list box with a list of songs and be able to filter it in a hierarchy. example: audio -> playlists -> (list all playlists here) -> (songs in the specific playlist here) audio -> artists -> (list all artists here) -> (all songs specific to that artist here) etc. Any ideas on how to save the state of the previous list So, the user can go back to from all songs in a specific playlist, back to the list of playlists available. I'm thinking the best way to do this is using a stack method ... but if there ar ...Show All
Visual Studio how to integrate msdn library August 2006 with vs 2005
I did install msdn August 2006 library on machine with vs 2005 and did accept integration with the studio. But it still does not show up in any Help toolbar items. Also I did reinstall studio, did run msdn library installation wout result. Could somebody advice how to fix it ps: running msdn lib from Start/Programs/ is fine. Hello gokh, On Tuesday, I also installed the MSDN August 2006 Library. As you did, I selected to integrate with VS 2005 and did a Custom install (I use this method for all MS app installations where possible). Since your MSDN Library - August 2006 opens and renders perfectly from the Start button, there should be no problems to troubleshoot the Library namespace registrati ...Show All
Visual Studio Tools for Office I have Office 2003 SP2 but VSTO wants SP1
I recently bought a Dell computer with MS Office with SP2. I also just purchased VSTO and, while attempting to install, was given the message that VSTO requires Office with SP1. I would assume that SP2 is an upgrade to SP1. What should I do Hi David See if the information in this message thread helps. The person there said he had to download and install a full SP2 update to get it to work http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=792902&SiteID=1 ...Show All
Visual Basic System.InvalidOperationException when creating a form. How do I debug the form.show() method?
An unhandled exception of type 'System.InvalidOperationException' occurred in Program1.exe Additional information: An error occurred creating the form. See Exception.InnerException for details. The error is: Control array element 2 doesn't exist. I put a breakpoint on the form.show() method, but I still get this error. I am assuming it's related to some control on the form, but there are no details. I'd like to trace or debug the form.show process if possible to determine which of the 100+ controls is causing this error. This application is being converted from VB6 to VB.net and it works fine of course in VB6. How can I trace into the form.show routine provided by the System.Windows.Forms framework to find out which control i ...Show All
Smart Device Development Emulator mouse driver problem
Hi All, I have been able to develop an OS image using Plaform Builder and I am able to deploy the application on the ARMV4i emulator. However, when then application loads I cannot seem to use the mouse on the emulator. The mouse pointer remains at a fixed location and cannot be used, however I can use the keyboard to navigate through the application. I have included the S32410 Matrix Keyboard/Mouse English device driver when the OS image that was built. From my understanding, it is the device driver that the Microsoft ARMV4I Device Emulator supports. Just to clarify what is installed, I have the following; Virtual Machine Network Driver for Microsoft Device Emulator ARMV4I BSP for Windows CE 5.0 Microsoft Windows CE 5.0 Emulato ...Show All
Visual C++ Cannot properly return unsigned char*...
Hi everyone, I have a problem in returning an unsigned char* from a function. In the main function: string name = "yabansu"; unsigned char* arr1 = (unsigned char*) name.c_str(); cout << arr1 << endl; //Correctly prints "yabansu" Let's say I wrote a function called StringToBytes for doing the same thing above as the following: unsigned char* StringToBytes(string s) { cout << (unsigned char*) s.c_str() //Correctly prints "yabansu" return (unsigned char*) s.c_str(); } Then I call this function in the main() as below; string name = "yabansu"; unsigned char* arr2 = StringToBytes(name); cout << arr2 << endl; &nb ...Show All
.NET Development How to accessSQL server 2005 through internet ?
How can I access my Microsoft SQL Server 2005 through internet For example, I set up a Microsoft SQL Server in one of computers of my company, and every computer in my company has its own IP .They are in the same workgroup. Now, there is no problem with database access with another computer in my company. Can anyone tell my how to access it through a computer out of my company (using DNS) Thanks It is not possible in general and it is not advisable. If you need to open up the SQL computer, you need to allow the TCP ports through whcih you communicate with the sql server. Possible, but I doubt any sensible network adminitrator would allow you a direct connection to a sql server machine ...Show All
Smart Device Development FileSystemWatcher
I`m a Newbie. I want to implement File Monitoring Program. For that I have decided to FileSystemWatcher of .NET Framework. How to achieve this If not possible in this method, then how to achieve File Monitoring in .Net Compact Framework Thanks........... I installed and started working on it. But, when I receive file from Bluetooth to My Documents Folder, I`m not able to display the message show popup, which is file created Can you tell me what might be the problem ...Show All
Visual Studio Formatting Windows ReportViewier animated "SHOWPROGRESS" Screen
Hi All, I am creating a report using WinForms.ReportViewer Control. The report is being generated and being displayed very nicely. However, my requirement is that, before the report is being generated, we get a Flash screen which shows the message "Report is being generated" alongwith an animation of a swirl with a green progress bar rotating. I wish to change this color from green to blue. Also, I need to change the text "Report is being generated ". I would be very thankful, if anybody can help me out for this issue. Please help Thanking You in advance Regards Pratik Hello Sir, Thank you very much for your assistance. It worked (as far as the changing of text ...Show All
Visual C++ how to solve command line error D8016
i made up a small aplication but during compliation i ended up having comaand line errors, after resolving few of thoese errors, through form help, i am stuck again, this error D8016 after i resolved error C1190 managed targeted code requires '/clr' option but the problem now is the this error , Command line error D8016 : '/MT' and '/clr' command-line options are incompatible cl some one please help me out in this, Thankyou I don't see why that didn't work. Try creating a new thread/search for that existing problem so that others can help you with it (since this thread is marked as answered many people won't read it). ...Show All
