Bhupendra_Singh_4c7760's Q&A profile
Audio and Video Development Set Cursor Image
How can I add an image to the cursor I've tried: CursorManager.setImage(" file:///dvddisc/ADV_OBJ/cursor.png "); and CursorManager.Image=" file:///dvddisc/ADV_OBJ/cursor.png "; but that won't work. Also I've attached an optical mouse to the Toshiba's USB port but it doesn't seem to work but using the remote controller in cursor mode works. This should work: CursorManager.setImage( "file:///dvddisc/ADV_OBJ/cursor.png" , 0, 0); where 0, 0, are the x,y coordinates of the hotspot of the cursor (so 0, 0 would be the top left corner of the cursor). Also cursor.png needs to be listed as a resource in the manifest and playlist. Hope this helps, --Rankin [edit: I misstyped the uri before as begin ...Show All
Visual Studio Visual Studio AddIn...
Hello, I have created a tool window using visual studio addin. It's been added to the TOOLS menu in the visual studio IDE but when i click on that addin icon, nothing is happening. What might be the problem... I Need some ideas or solutions to resolve this problem. [Note: The same Addin was working fine in another machine] This is a bit strange because if it is a programming problem, it wouldn't work on any machine, but if it is an installation problem on the second machine, you wouldn't get the menu under the Tools menu on the second machine. Do you know what I mean So, could you ellaborate Guessing blindly, are you using permanent UI (see HOWTO: Adding buttons, commandbars and toolbars to Visual Studio .NET from an add-in ...Show All
Windows Forms Transfer data to another form
I try to transfer data from a DataGridView from one form to another form. I have the following code. When I try to run it, it doesn't appear with any errors, but it also doesn't transfer the data I want it to do. Where in my code do I do somethin wrong Faktureringssystem.cd (form1) code: private void dgrKunder_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { // Find den aktuelle row der er selected nar der dobbeltklikkes. CurrencyManager cm = this.BindingContext[dgrKunder.DataSource, dgrKunder.DataMember] as CurrencyManager; if (cm != null) { DataRowView rowView = cm.Current as DataRowView; if (rowView != null) { fakturasystemDataSet.KunderRow row = rowView.Row as fakturasy ...Show All
Smart Device Development C# Pocket PC Application With Sql Server Mobile
Hi, I am absolutely new to Smart Device Application programming. I want to make my application work with Sql Server Mobile. I have been through a lot of links and very confused. I need some guidance from the expert on how to start with it. Development environment in use: 1. Windows 2000 Server 2. C# .NET 2005 3. Sql Server 2000 I have already tried a basic 2 forms application and tested it on a Smart Phone and i-mate JASJAR , and found the application working properly. My questions are as follows: 1. How to use my application so that I can connect to Sql Server Mobile 2. Do I have to install Sql Server Mobile on my development computer 3. If so from where will I download it Doesn't .NET Studio comes with its own Mobile Database 4. How ...Show All
Visual C++ Adding reference to unmanaged code wrapper and resolving dependent DLLs.
Hi, I'm having a problem with a Web Service that I'm creating. My solution contains three projects. One is an unmanaged C++ code library, the second is a managed C++ wrapper for this library exposing the code I need to consume in a web service, and the third is the web service itself. I can compile and build the unmanaged library and the managed wrapper, and test this library from a console application. However, when I try to add a reference to this managed wrapper to my web service I get this error message: Error 1 The specified module could not be found. (Exception from HRESULT: 0x8007007E) Now I know that my code library has some dependencies on other DLLs, but so far I've not been able to work out how to build the managed ...Show All
Windows Search Technologies Unable to search mapped network drives like I could with Beta version
I downloaded and installed the latest version of Windows Desktop Search. I had the Beta version before. It is a great tool! Here's my problem: when I had the Beta version I was able to search my computer's hard drive plus all network drives I have access to. Now I can only search my computer's hard dirive. I checked the "email and all hard disks" in the Desktop Search options and then selected "Index Now." Still I can only search my personal computer and not the network drives where I store virtually evrything. Anyone know what I need to do to be able to search the network drives again How come there is no "help" in the Widows Desktop Search" toolbar. Quite a problem. paul schultz lancaster, PA ...Show All
Visual Basic Crystal Reports in VS 2005
We are using VStudio 2005 Professional at work and it comes with a version of Crystal Reports. Does anyone know if this version of CR is a sample or is it a full version Thanks. You could insert the possible empty field into a seperate section, like it's own detail section, and set the default height of both the field and the section as small as possible and set the can grow property to true, allowing the field to expand and contract based on the presence and length of data appearing in the field. ...Show All
Visual Studio Express Editions PS
Maybe it's not C#, but whatever it is, it's not familiar to me. What I want to do is to type in something like "ostream" and have it take me to an appropriate page. I did manage to naviagate to the MSDN help system (although I've already forgotten how I did that). But it did not come up with a search box or a useful index. Things are organized by categories, like input and output. I really am impressed with C++ Express. And the price literally can't be beat. But I must say, for a decade, every time MS improves a product, the help system becomes more difficult to navigate. I'm no fan of the MSDN Help viewer but I think it can do what you are asking for. From within VC++ Express click on Help then Index. In the " ...Show All
Internet Explorer Development Web Browser with Vb.Net
Hi friends, I am new to VB.Net. I am using VS 2005. I have to call a website, which has 3 frame, after calling the first main mapge, example : index.html (contains 3 frames), i need to open search.html in the "main" frame. How do i do this. Please guide me ... Thanks in advance ! Anuradika The Code will not create any problems , if u have used Web Browser Control (I hope So) It will automatically take care of everything. Rgds Sidheshwar ...Show All
Windows Forms multiselection in a datagrid
Hi! I would like to know how can i select multiple rows in a datagrid I can select an entire row but i can't do a multiple select. I have another question,how can i add a checkbox on the header of my datagrid I want my application do allow one or more rows selection. When the selections done, the user have to check the checkbox to allow another event to happen. Thanks a lot!!! you can add checkbox column to datagrid.There is an example of adding a tablestyle to a datagrid here . ...Show All
SQL Server miss match between column type in a cursor. Msg 8114, Level 16, State 5
hi I have a float column . only in cursor I get a type missmatch. does any one knows it the error Msg 8114, Level 16, State 5, Line 14 Error converting data type varchar to float. the code DECLARE @RON_FLOAT FLOAT DECLARE RON_CURSOR CURSOR FOR SELECT RON_FLOAT FROM RON_TABLE1 OPEN RON_CURSOR FETCH NEXT FROM RON_CURSOR INTO @RON_FLOAT WHILE @@FETCH_STATUS = 0 BEGIN PRINT 'VALUE IS ' + @RON_FLOAT FETCH NEXT FROM RON_CURSOR INTO @RON_FLOAT END CLOSE RON_CURSOR DEALLOCATE RON_CURSOR the code for the table CREATE TABLE [dbo] . [RON_TABLE1] ( [RON_FLOAT] [float] NULL, [RON_CHAR] [nchar] ( 10 ) COLLATE Hebrew_ ...Show All
Windows Forms Panel / GroupBox as Containers
Hi Iam trying to open a windows form inside a panel or groupbox control, it gives me a error. I need similar sort of functionality, how to proceed. can anyone help me on this . thanks in advance sriram Yes, you can put a form inside a control. In fact, as long as the object has a window handle, you can trick it one way or another to be contained in another control. For the a form to be contained in another control, you will have to set its TopLevel property to false. ...Show All
Windows Forms go back in graphics
how can i go back to previous state when i draw graphics shaps such as ctrl+z key If you simpley want to get the previous state..clone the object before changing the shape and store it in a temporary variable.Or else if you are you looking to implement Undo mechanism,you can implement Gof Momento Design Pattern ...Show All
Windows Forms vb.net form...linking listbox and label problem
I have created a database for a little wrestling game I'm making. In the table, Wrestlers, are the firlds WrestlerName and Morale. I have a listbox which displays the Wrestlers Name into a label at the top in huge font but I can't get the Morale label (lblMorale) to update with the selected item in the listbox. Can anyone help me please Low morale perhaps. Use the debugger. Set a breakpoint on the new statement and in the SelectedIndexChanged event. Verify that both breakpoints hit. They should... ...Show All
SQL Server Linked Server - DB2 - StarSQL
Hello, We are currenlty in an environment where we have our SQL Server 2000 on a Windows Server 2003 Enterprise Edition Box. Our DB2 on IBM OS is linked to the SQL Server using StarSQL ODBC. We have a stored procedure that counts the number of records in a SQL Server table, then runs a qeury against the same DB2 table to make sure they have the same amount of records. If the record counts are different, delete the records in the SQL server table and then repopulate the table with the DB2 table records. This works on this box (the "current" box). In the future we are going to a virtual environment with Windows Server 2003 Enterprise Edition Service Pack 1, and a StarSQL driver version that is 10 months newer than on our &quo ...Show All
