Alois's Q&A profile
Visual Studio Using Report Viewer in a C++ Windows Application
I want to use the Crystal Report Viewer control in an MFC Dialog application. All instructions I have seen tell me to right click on the dialog, choose "Insert ActiveX control..." and then select "Crystal Viewer Control". However, the Crystal Viewer Control does not appear as an option in the ActiveX control list. I have the Crystal Reports version that comes with Visual Studio .NET Version 2003. Any help would be gr ...Show All
SQL Server How to add date and time to Flat File Connection Manager
I have specified a name for my output file in the properties of my Flat File Connection but how can I add the date and time to that filename If it is using expressions, what would be the expression and where exactly do I paste that expression Nice one: Expression: "FileNameBase_" + (DT_WSTR,15)(DT_DBDATE)GETDATE() + "_" + (DT_WSTR, 15)(DT_DBTIME)GETDATE() Looks like this: FileNameBase_2006-01-03_08:55:28 Place is on t ...Show All
Visual J# Using jxl.jar with VJ++
Hello, I have a problem. Can any one plz help. I am using VJ++ to read and write Excel Files. Is there a good API which can help me After searcing, i found jxl.jar. but when i use it with VJ++, i get the following error. java.lang.NoClassDefFoundError can u plz help me Here is the code: package com.netech.rf.lsr; import java.io.File; import jxl.write.WriteException; import jxl.Workbook; import jxl.write.WritableWorkbook; import jxl.write.Writabl ...Show All
Visual C++ Problem in Visual C++
Hi All, I am facing a peculiar problem. I am using Visual C++ for a GUI program which reads the serial port continously and displaying the contents. I am using a "while" loop for this. But after starting the program I am not able to do anything with the application window (lik minimize, maximize, or stop the program). Can anybody help me in tackling this problem. With thanks in advance. VKA v ...Show All
Visual Studio Team System custom rule to identify com objects...
Hi, My query is : can we write a fxcop custom rule to find out whether or not a com dll is being referenced and used in my dotnet assembly using introspection engine. If so, how to implement that rule. To be more specific, how to identify a com referenced object in my c# class and check whether this object is disposed properly. any valid pointers Thanks, Vijay Hi, Thanks for your response. ...Show All
.NET Development "Column 'ID' does not allow nulls" exception throw from datagridview
Hi All, I created a table in SQL server and there is a column named "ID" which type is guid and default value is newid(). This column also been set to primary key of the table. I also created a typed dataset in Visual Studio 2005 from preceding table , then in a windows form , used datagridview control to show and add new record to it(set the column of ID to readonly, I hope SQL Server help to set the value of ID column). But when I test i ...Show All
Visual Basic Cutting and Pasting Controls, and Handles clause (bug? or annoying quirk?)
I am currently working in Visual Basic and I noticed something peculiar, this does not seem like a VB problem, but rather a bug with Visual Studio. If you don't want to classify it as a bug then classify it as an 'annoying little quirk'. If you set up a control (like a button), and have a method that has a handles clause that references the button (like Handles myButton.Click), and then 'cut' the button out, the Handles clause is removed! If you ...Show All
Visual C++ LNK2019
Hello, I am getting these horrible Link errors. I have seen some information from other threads, but I am not able to reach those theads today. I get an error message when i do a search for LNK2019... AuditLogDlg.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class ATL::CStringT > > __thiscall CEFTDBRowSet ::GetError(void)" (__imp_ GetError@ $CEFTDBRowSet@VCEFTAuditLog@@@@QAE AV $CStringT@DV $StrTraitMFC_DLL ...Show All
Visual Studio Express Editions How do I create a C# add-in for MS Outlook?
Is there a document sowewhere which describes how to create an add-in for MS Outlook 2003 in c#. Can I use Visual C# Express Many thanks, Sorry, but language choice aside, the only way to build an add-in for Outlook or any of the Office 2003 apps is to use either Visual Studio Tools for Office (VSTO), or by using one of the MSDN subscription versions of Visual Studio that includes VSTO. This is a limitation of ...Show All
Visual Basic created a simple form to calculate a weekly rate
I created a project to calculate the week rental rate for several vehicles based on the users need for large vehicle, convertible, truck you get the picture. so I used a combo box and select case I need to perform each calculation just once, then clear the memory so I can do an additional calculation. I have something like this, select case case 0 if rdobtnlarge.check andalso rodbtnweekend.check then ...Show All
SQL Server Setting DTS Connction object dynamically
Hi: I have posted concerning this-I don't mean to double post but I have isolated the problem and have new information. (and I'm desperate!!) Please direct me to a DTS forum if this is not the place for this, I didn't see one. I am trying set the data connection object (ODBC to Sybase) twice in the same package but the Data Pump Tasks that use this connection don't seem to be using the new setting in the connection after the second time it ...Show All
Game Technologies: DirectX, XNA, XACT, etc. moving meshes
Im using the sampleFramework and C# I have created a few frames that load meshes, im using this to place the meshes start.viewMatrix.AffineTransformation(1, new Vector3(1,8,0),Microsoft.DirectX.Quaternion.RotationYawPitchRoll(- 0.30F ,0.20F,3.1F), new Vector3(-10.0F, -22.0F, 30.0F)); I use the same formate for all the frames I have and im also using camera.FrameMove(elapsedTime) so the user can rotate the mesh when they h ...Show All
Visual Studio Express Editions Beginner Question
OK, I had a little work with an older VB Version.....but now I'm trying Express I open a new project and add a form and everything is fine. I save my work but when i go to reopen the project i can't see the form, but i can view the code fine. The only way i can visually see the form is to Play/Run the debugger, which is useless if i can't make changes. With Express is this limited Rightclick the code ...Show All
Visual Studio Express Editions How to get MFC libraries for Visual C++ Express 2005
hi, I have a software package which works well during VC6. Now I tried to compile it in VC++ 2005 Express. Most of projects in the package are no problem. But there is only one project which is a GUI application (using MFC) always got some problems. At first, it missed some lib files. So I copy some lib files from VC6 directory to current lib directory. Then I got the following error. Anyone can give me some ideas Lin ...Show All
Smart Device Development Assign sounds to Notifications
Hi, I was using the notification control from OpenNetCf when i used VS 2003. Now i moved to VS 2005 and changed the control to the new Notification control of the .NET. When i was using the openNetCF class, i used the NotificationEngine object, in order to defined the GUID of my notification bubbles, in this way i could set the sound and the duration of the notification in the registry. The problem with the .NET Notification componen ...Show All
