prasadKR's Q&A profile
Visual Basic How to let users choose their own installation path?
How can I let users choose their own installation path when I publish a program Thanks. Not possible with Click Once as is basically sandboxes the deployment. If you want to allow users to install there applications into user defined folders you need to create a specific setup project. This project template is supplied for some versions of VB / VS but definately NOT for the express versions. ...Show All
Smart Device Development How to rotate a image in smartphone
Hi, I want to know how to rotate the image in a smartphone application. Thanks and Regards, Amritanshu Agrawal It's not entirely clear what you're trying to do. Do you need to just rotate it some multiple of 90-degrees Or does it need to be some arbitrary rotation Is this something that happens just once that you could just create a second copy of the resource in some paint program on the desktop and just load this other resource Or is it an image that is created at some later point (e.g. a drawing program, or loading an arbitrary image from a file) that needs to be rotated If you just need to rotate a multiple of 90-degrees, it should be simply enough to call Bitmap.LockBits(), and use ...Show All
Windows Forms Help needed :clickonce deployment
hi!! Plz anybody tell me,from where can i download the TimecardManager sample application.... I need it along with the code.... Help me out in the issue......... thanks........ ...Show All
SQL Server SQL2005 Set Approle has it changed behaviour - ODBC driver issues with transactions
We are trying to convert our client applications from SQL2000 to SQL2005 back end. We have noticed by trace that when setting implicit transactions on, and calling sp_set_approle in: SQL2000 1) connect 2) Set Approle 3) do stuff which invokes an implicit transaction SQL2005 1) connect 2) implicit transaction is invoked 3) we call set Approle [which fails because it cant be called in transaction]. does anyone know if Sp_set_approle has changed perhaps it now updates a system table which invokes the start of an implicit transaction where previously it did not We have not changed our client code, so this is a change in SQL2005 behaviour or driver incompatibility issue. Also interested to hear if anyone else is suffering issues. ...Show All
.NET Development .net on PDA
Sorry if considered off topic for this forum. Just got a Dell Axim X51, running Windows Mobile ver 5.0 (OS 5.1.195) I built a simple app under Visual Studio 2005 which runs under the emulator but when I port it to the PDA and try and run it I get: This Application (DeviceApplication1.exe) requires a newer version of the Microsoft .NET Compact Framework than the version installed on this device. <question> How can I tell what version is installed (if any) </question> The windows folder on the pda doesn't have a folder like C:\WINDOWS\Microsoft.NET\Framework on my PC! Sorry if bit of a dunb question but very new to this PDA lark! TIA Paul Hi, In order to get the versio ...Show All
SQL Server Surface Area Config/Rep. Svcs./Error viewing Win Integrated Security
When attempting to verify that Windows Integrated Security is disabled (see why at http://msdn2.microsoft.com/en-us/library/ms180255.aspx), I receive the following error: Argument value was not passed for the argument Report service URL. (Microsoft.SqlSac.Public) I have been unable to determine if this is related to the fact that I use Mixed Authentication in my SS2K5 instance, and therefor not actually an error, but a notification, or if it is an error in the tool. I suspect the latter. Any info out there Subquestion: Is this the best way to report an incident like this without starting the MS support charge meter Thanks for sending me to connect.microsoft.com/sqlserver/feedback. I found this over there: http://connect.microsoft ...Show All
Visual Studio Express Editions idiots code book
hi everyone, i am a beginner to vb as are many who post here, i am putting together a book that explains all code statements and explains how they work and what they are doing better then some of the books i have read. i there is anyone who can submit their error mesages and solutions that will be great, also i will be posting all kinds of command questions as i have already done to others on other posts and i would be gratefull for yoiur explanation comments. i want to start with accept changes why do i use it and wehn dio i use it, what is it for thanks chaza, what books do you already have What about them don't help you to learn visual basic It appears to me, that you don't really u ...Show All
Software Development for Windows Vista About GetClientRect in AERO
I use GetClientRect function to retrive the coordinates of a window's client area and then draw a bitmap into client area in WM_PAINT callback function. But when AERO is enabled and the minimized main window is restoring, the bitmap is presented before the main window being restored. It is no problem when AERO is disabled. There is a slow animation when a window being restored in AERO. How to detect the animation is over Or, should I try another way The code looks like the followings: case WM_PAINT: { ...... CRect rcRect; GetClientRect(m_ ...Show All
Visual Studio documentation
Hi people, some comments about the dsl tools documentation on msdn. Several links to it lead to nowhere, but after some searching I found it at http://msdn2.microsoft.com/en-us/library/bb126235(VS.80).aspx . The documentation itself consists of many many pieces of html. Takes longer to load than to read. Can't you just give me a pdf file I can print or read as a whole Funny that there's a link to the "printer friendly version", do you expect me to print all those single html pieces I guess there's a long way to go, before dsl tools will make me more productive. ;-) Kind regards, Kurt Two hints: 1. If you have the Visual Studio SDK installed, you can open the documentation locally. 2. To pr ...Show All
Visual Studio Express Editions Can I use VBE 2005 classes in Excel 2003 VBA code?
I have a class library that I'm developing in Visual Basic Express 2005. I can use the classes in other projects in VBE, but I would also like to use them in VBA code in Excel 2003 (i.e. in the VBA code I want to be able to create instances of the classes from the class library). If that is possible, can someone please give me step by step instructions The line giving the error is Dim testClass As New TestClassLibrary1.Class1 You suggested copying the .dll and .tlb files to the same folder as the VBA application. The VBA application wasn't in a folder as I hadn't saved it (VBA debug does not require code to be saved before running it). To follow your suggestion, I saved t ...Show All
Visual Studio Express Editions Problems with Windows Forms design view (VC 2005 Express)
I am occasionally getting a System.OutOfMemoryException from VC when I switch into the design view of a form (e.g. MainWindow.h). The full error message: Visual C++ 2005 Express Edition The control System.Windows.Forms.ToolStrip has thrown an unhandled exception in the designer and has been disabled. Exception: Exception of type 'System.OutOfMemoryException' was thrown. Stack trace: at System.Windows.Forms.ToolStrip.OnHandleCreated(EventArgs e) at System.Windows.Forms.ToolStrip.WndProc(Message& m) I have been occasionally getting other error messages as well when switching to design view. Does anybody have experience with this Any hints Thanks, Nathan Hi Nathan, I encountered this as well. ...Show All
Windows Forms ComboBox in DataGridView, setting the combo box's values accordingly to each row
Hey all, I have a DataGridView control and a comboBox column. I managed to populate the comboBox's items from my database but I dont know how to set the appropriate value to it according to its row in the dataGridView. some more explanations for my problem: The dataGridView represents a Patients table and each patient has a Contact, I'm displaying this contact by a comboBox. Each patient has a ContactID field which tells which Contact belongs to this patient. So I want for each row in the dataGridView to set the comboBox's valueMemeber field to the ContacID field of this row. The tables are: Patients(PID,name,phone, ContactID ) <-- The DataGridView represents this table Contacts( CID ,name,phone) ----------------- ...Show All
SQL Server How to raise error in script
I can't believe I can't find this in books online... I have a transformation script component and I have a case where I want the object to completely fail if it is encountered. How do I code that All my searching BOL could find is how to redirect rows to an error output which is not what I need in this case.... I'd think it would be something simple like Me.RaiseError("Something really bad happened") but I haven't found it ... From BOL, please use the following example. Using Error Outputs in a Data Flow Component ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/dtsref9/html/a2a3e7c8-1de2-45b3-97fb-60415d3b0934.htm First off, to establish the relevance of the above BOL link ...Show All
Visual Studio How do I setup WSS extensions so that a user account OTHER than administrator can deploy web parts?
I have installed Sharepoint Services and Visual Studio 2005 Professional with the WSS extensions so that I can develop web parts. I have two users on the box, the Adminstrator and me (jstr) I have set my user account up to be a member of adminstrators, and although the Administrator created the Sharepoint Site Collection, JSTR is listed as number two, and can do everything on the Sharepoint sites that the Administrator can. When I create a simple "Hello World" type web part, the web part deploys perfectly if I am logged in as Adminstrator. If I am logged in as JSTR, I get "no sharepoint exists at the specified URL". This is the same project just running out of two different logon accounts. I am baffled. I'd rat ...Show All
Visual Studio Express Editions Creating a server using TCP/IP
Are there any tutorails that will help me make a server and a client in using VB 2005 and .NET Thanks http://msdn.microsoft.com/vstudio/downloads/101samples/default.aspx should have a sample or two in the base class libraries samples (group 1) Best regards, Johan Stenberg ...Show All
