Nfrf's Q&A profile
Visual Studio Express Editions Using Visual Basic Express 2005 and Crystal Reports XI Release 2 Together
Win XP SP2, VB Express 2005, Crystal Reports XI Release 2 (full registered version). I have installed VB Express 2005. I then upgraded Crystal XI to Release 2 and installed. I added the CrystalReportViewer to the vb toolbox. I have the following references in my project: CrystalDecisions.CrystalReports.Engine, .ReportSource, .Shared, .Web, .Windows.Forms All are of .NET type and version 11.5.3700.0 When I put the CrystalReportViewer onto a form from the toolbox, the crviewer does not go onto the form itself but it goes down below the form (where the mainmenu or process components would reside). This means that I cannot resize the viewer myself on the form. After I set up the code and run the report, the parameter di ...Show All
Visual Basic is there a way to modify code in vb.net on the fly when it is running?
is there a way to modify code in vb.net on the fly when it is running I vb 6 you could hit ctrl break then modify the code then hit F5 and the changes were made. in VB 7 u have to do a recompile after u make the changes for them to take affect. Does anyone know if there is a way to make changes and not recompile the code and have the changes take affect right away. I have the same problem as well. I have two computers and on one I can edit and change code in break mode but the other does not allow it. Also debug.print does not work. I had a look at the above suggestions but none of them helped. Any Ideas Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. SpriteBatch and BlendModes (& rendering in the alpha channel)
When using SpriteBatch it seems to override any RenderState settings for SourceBlend and DestinationBlend. Is there a way to change these settings or is there another way to draw a texture using your own RenderState settings There are two I would like to use : graphics.GraphicsDevice. RenderState.AlphaBlendEnable = true ; graphics.GraphicsDevice .RenderState.SourceBlend = Blend .SourceAlpha; graphics.GraphicsDevice .RenderState.DestinationBlend = Blend .One; and graphics.GraphicsDevice.RenderState.AlphaBlendEnable = true ; graphics.GraphicsDevice .RenderState.SourceBlend = Blend .SourceAlpha; graphics.GraphicsDevice .RenderState.DestinationBlend = Blend . InverseSourceAlpha ; Cheers, Terry ...Show All
Visual C++ Tree-view with checkboxes (Win32)
I have created a tree-view control with the TVS_CHECKBOXES style. I want to include a few items on root level as a kind of headings only. I don't want these to have checkboxes. Then the default functionality is not good enough, but it should be possible to achieve this by providing a state image list and setting the state image index to 0. I have created a bitmap (48x16, 16 colors) with three images. One blank, one empty checkbox, and one selected checkbox. I create the list and selects it with the following code: HIMAGELIST himl; himl = ImageList_Create(16,16,ILC_COLOR4,3,1); TreeView_SetImageList(GetDlgItem(hDlg,IDC_OPTIONS),himl,TVSIL_STATE); I then set an item: TVINSERTSTRUCT tvis; HTREEITEM hItem; tvis.hParent = NU ...Show All
Visual Studio Team System Test Reports?
Please pardon my ignorance, but I'm just beginning to test the test tools. I successfully created and ran a web test, viewed the results and saw some issues there. Isn't there some way to generate a report from the tests We always have to show a report of the test results. Any clues appreciated. Thx, ts What about the MSTest.exe (comman line executable) publish commands. Can't they be used to store data directly to the TFS Operational data DB Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Should my 2D game engine use Vector2s or pairs of floats?
I just recently changed, oh, about a 1000 lines of code in my game engine. Instead of using Vector2 for things like position and size, I decided to use floats instead. Does anyone else use Vector2's as their main position and size data types in their 2D game Right now, I have the code for both versions, and I'm trying to make entirely sure floats are the way to go before throwing one of them away. Any comments I say use Vector2's. I'm not quite sure how any noob would have trouble using Vector2's over floats. " But C# makes things a little more difficult and inefficient when using structs as properties than I had anticipated" You can always have a property like.. public float PosX { get { return mPosition.X } se ...Show All
.NET Development Listening to Terminla server client using .NET socket programing
Hello, I have developed a windows application(C#) using socket programming which listens for clinets on specific port. The purpose of the application is to listen for the data from terminal server client and transfer to other server. The problem is that this application should listens to remote "Terminal Server Client ( Remote desktop)" . My application runs on the system which acts as Terminal Server.Clients connects to thsi systems.How can the application listen to terminal server client Regards, Sridhar, ...Show All
Smart Device Development Problem creating NDISUIO handle
Hi I am having a problem creating a handler for pocket pc. Below is a snippet of the code i am using. It works perfectly in WinXP but not in Windows Mobile5.0(Dell Axim X51V) I had changed the pinvoke to use coredll.dll for pocket pc. private const string NDIS_FILE_NAME = @"\\.\\Ndisuio"; DriverHandle = CreateFile(NDIS_FILE_NAME, GENERIC_READ | GENERIC_WRITE, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, INVALID_HANDLE_VALUE); DriverHandle returned is -1 which is INVALID_HANDLE_VALUE. After the create file i got error code 161 which is "ERROR_BAD_PATHNAME - The specified path is invalid." Is my path to Ndisuio incorrect Or anyone know what is wrong Thanks in advance. I tried us ...Show All
Visual Studio Express Editions Updating custom wrappers
My Windows Forms application uses the Windows Media Player control AxWMPLib. Today, after making a small change in the program, I noticed a warning message in the IDE that said that there was an update to a custom wrapper that I was using (MSComctLib). Double clicking on the warning presented an opportunity to use the new wrapper. I clicked OK. Big mistake! My assemblies lost all reference to AxWMPLib. The designer went nuts and would no longer draw my form in designer mode. I could not figure out how to recover the program--either by referencing to the new wrapper or reconnecting to the old one. I was able to recover by copying my up-to-date .cs files into a backup of the solution. So, my questions are: 1. What is the prope ...Show All
.NET Development Calling C# methods from a javascript
Hi, I need to call a C# method from a JSP.The C# application is a Windows application. How can it be implemented Thanks It might be complicated. I don't know anything about Java Server Pages, but if they support COM you might be able to access the C# windows application through .NET Interop. You will have to expose a COM interface. Another way might be to use web services. Give your C# appliaction a web-service front-end and have JSP use whatever it uses to contact your web service and operate the application. ...Show All
SQL Server Can we change the name of the instance ..
Can we change the name of the instance (SomeSQLInstance1, Some SQLInstance2) to be "SomeSQLStdInstance" while upgrading to SQL 2005 from MSDE 2k or SQL 2000 Yes. You can change the name of an instance as long as the server is not clustered. For more information, visit the following Microsoft Developer Network (MSDN) Web site: http://msdn.microsoft.com/library/default.asp url=/library/en-us/instsql/in_afterinstall_5r8f.asp Thanks ...Show All
.NET Development How to set SOAPUser
Hello, I hope and think that my question is quiet easy to answer. But since I am developing the Server with axis an java I am not that used to authentication via Soap in .Net. I simply want the Service, created by the Webreference Assistent, to send a specific User and Password in the Soap Header. Its no use to me to use DefaultCredentials or other Domainusers. I neet to set these Two variable by Hand. Can anyone give me a hint how i have to modify the following constructer to use hardcoded User and password /// <remarks/> public SimplePackageServiceService() { this.Url = global::WindowsApplication1.Properties.Settings.Default.WindowsApplication1_localhost_SimplePackageServiceService; if ((this.IsLocalFileSystemWe ...Show All
Windows Forms Can I get a string from a PerformanceCounter?
For my application I am monitoring my network statistics like Bytes Sent Per Second/Recieved Per Second. But to do this I have to set teh value of the performance counter like so: bps = System.Diagnostics.PerformanceCounter("Network Interface", Bytes Sent/sec, "Linksys Wireless-G PCI Adapter - minipacket scheduler"); Is there a way to retrieve the third over load and store it in a string so my string is: String adaptername = "Wireless-G PCI Adapter - minipacket scheduler"; Because when I release my application to the public not everyone will have the same network card. Any help is appreciated. Thank you. What you probably want is how to enumerate network adapters If so, check this sample from codeproje ...Show All
.NET Development WebMethod returning DataTable
I got an improper result in dot Net web service. For example, I have a WebMethod GetData, [ WebMethod ] public virtual DataTable GetData( string tableName) { DataTable retDataTable = obj.GetData(tableName); return retDataTable; } Whenever WebReference to client application, in client stub (Reference.cs) GetData webmethod return type taken as GetDataResponseGetDataResult instead of DataTable . This behavior only in case of DataTable, in other case it is okay. public GetDataResponseGetDataResult GetData( string tableName) { object [] results = this .Invoke( "GetData" , new object [] { tableName}); return (( GetDataRespons ...Show All
Visual Studio SP1 Install on VS2005 Standard Academic
Hello. I have the academic version of VS2005 standard. I am unable to install SP1. The installer bails with the message that the product to be upgraded could not be found. Is this SP not for the academic edition If not, when will the academic version be available Well as far as I know the Visual Studio 2005 Standard Academic Edition is basically a Visual Studio 2005 Standard Edition with a different EULA. As mentioned in the Visual Studio 2005 Service Pack 1 release notes this product applies also to the Standard Edition of Visual Studio 2005. Make sure that you install the correct version of the SP1 that you can find here: MicrosoftR Visual StudioR 2005 Team Suite Service Pack 1 I have also seen reports by people h ...Show All
