csk2006's Q&A profile
Visual Basic How to execute click, some select, input text in HTML page, using WEBBrowser Control (VS2005)
I use new WEBBrowser control (VS2005) in my program (WinForm) for open web site. (VB2005) After using method "navigate", in my webbrowser control I have HTML page from some website. This HTML page has some input button with events or input text control or other interactive control on it. I can click with mouse on that buttons or input text from keyboard or select value from combo box to send this page back. question: How I can execute this from my program code, using property and methods WebBrowser control Thank for attention. if you have for Example myButton as HtmlElement and myButton is an Input -Button that submits a Form, you simply use: myButton.InvokeMember("cli ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX Texture Tool (PLEASE NEED HELP)
When im trying to lunch this utilitie in directx 9.0 sdk , it says Unable to create Direct3d Device . Please make sure your desktop color depth is 16 or 32 bit. my desktop color is at 32 bit and it still dont work , I really need some help . manders wrote: DxTex requires the "ref" software device to be installed. Did you install the full DXSDK Make sure you have a "d3dref9.dll" in your windows\system32 folder. -Mike Thank you so much my problem is solved , ive noticed that my d3dref9.dll was corrupt , so ive ask to a friend to give me his file and now its working . ...Show All
Visual Studio 2008 (Pre-release) Getting TreeViewItem when using ObjectDataProvider
Hi I'm trying to figure out how to get the TreeViewItem for the currently selected item of a TreeView generated using an ObjectDataProvider and HierarchicalDataTemplates. When ever I handle SelectedItemChanged I end up with the actual bound object rather than the TreeViewItem. Trying to cast ends up in an error. The reason I want the TreeViewItem is so that I can setup a copy and paste feature with undo. To do this I need an index to the selected item and it's parent. The problem is that the items in the collections of my model do not have any conept of "Parent", so I'm relying on being able to use the TreeViewItems to walk back up the Tree and find the parent. Hopefully I can then find the bound object of the parent and then try ...Show All
Visual Studio How can I find which files are updated by other users?
Hi, I am new in visual sourcesafe. When I open "Microsoft Visual SourceSafe" or Visual Studio, I can easily see which files or folders are being locked by other users. But when they check in the files I can't find whcih files are updated to update my own local files by "Get Latest Version". Is there a way to easily find this out Of cours I can use the comapre tool, but it is not wise in a 10000 files solution. :) Thank you. Thanks Richard. It seems good, but not enough. I need to know which files are updated before I decide to get the latest vesrion. Sometimes I do want to get the latest version, but it is important for me to know if someone has changed the file or not. Act ...Show All
Smart Device Development Enhancing UI for my samrt application
Hi there, I am developing an application on smart device. I am facing some problems in finding appropriate 3d icons and custom controls (like 3d scroll bar) for my interface. Does anyone has any information from where I can get some nice icons and controls to decorate my application Regards Few more to add - http://www.newfreedownloads.com/Software-Developer/Miscellaneous/Instrumentation-Widgets-for-Mobile-Devices.html and http://www.componentsource.com/features/xgraphp/index3.html ...Show All
Visual Studio Tools for Office Set default signature in Outlook with Outlook Addin
I'm writing an VSTO2005SE Outlook 2003 addin that creates email signatures. Signature data is imported from Active Directory and saves templated signature files to the Signatures folder. However, I don't know how to set Outlooks default signature for creating new email and replying to email. The addin is written i C#, but code examples in VB.NET is okay to. I'm thankful for any help I can get. // Johan There are three ways to make Outlook to use a particular signature with all accounts, all requiring manipulation of the registry: 1) Apply Office Service Pack 2 (to resolve the problem discussed in MSKB article 898076) and then set the NewSignature and ReplySignature string values in the HKEY_CURRENT_USER\Software\Po ...Show All
Smart Device Development PDA identity
Hello, #1 -->is there a way for getting pda owner,mac address fo wi-fi card and things like that #2 -->is there a way to secure my code #3 -->when the application is done and you fix the setup file,when the setup begins does it install cf 2 and sql server mobile thnx in advance. See this , items 4/5, 20. I would also add my personal favorite: use search to find answer's instantly. ...Show All
Visual C# Migration of windows application from .NET framework1.1 to 2.0
Hi I have a windows application developed in VS2003 dotNET framework1.1, i need to migrate to dotNET2.0, After success conversion my application working fine as before. But I would like to know , Which version of the controls are being used (1.1 or 2.0) and which version of ADO.NET (1.1 or 2.0) it is using internally How can i do this ...Show All
Visual C++ Repost-Same code compiled sucessfully on a desktop but failed on a laptop
Repost due to the display error.--- Below code can buit sucessfully on a DELL desktop but failed on a compaq laptop.The compiler said that snack 's size is unknow. #include<iostream> #include<string> using std::cout; using std::cin; using std::endl; using std::string; struct CindyBar{ string brand; float weight; int calory; }; int main(){ cout<<"Plesae enter the size to determine the array:\n"; int size; (cin>>size).get(); CindyBar *snack=new CindyBar[size]; cout<<"Please enter the items one by one:\n"; for(int i=0;i<size;i++){ cout<<"Please enter the No."<<i+1<<" 's brand:\n"; getline(cin,snack[ i ].brand); ...Show All
Smart Device Development MainMenu with dynamic MenuItems
Hello, I want to be able to change the menus at bottom of screen. My problem is that I loose the '2 big buttons layout' and has layout like menu with 3 or more MenuItems. this .mainMenuList.MenuItems.Clear(); this.mainMenuList.MenuItems.Add(this .miTotal); this.mainMenuList.MenuItems.Add(this.miClose); this .mainMenuList.MenuItems.Clear(); this.mainMenuList.MenuItems.Add(this .miOK); this.mainMenuList.MenuItems.Add(this.miCancel); What do I have to do Thanks JF Hello, I didn't try that solution. I decided to use 2 MenuItems and to change the Text property. I use the Text property to know what to do, but these solution is not correct for multi-languages applications. I will try y ...Show All
Windows Forms How to populate a Winforms treeview control from dataset
Hey guys, I am trying to find out how to populate a winforms 2.0 tree view control from a dataset. Since there is no DataSource property I have no clue and my search results always turn up how to do this with ASP.NET's treeview control (which does have a DataSource property). I'll be using the dataset passed back from the RMO object MergeSubscriberMonitor.GetSessionsSummaryDataSet Method. Any help would be appreciated !! Thanks! Thanks for the reply and help!! What is this line doing Is it adding multiple tables into the dataset or multiple fields from a table ds.Relations.Add("Cat_Product", ds.Tables["Categories"].Columns["CategoryID"], ds.Table ...Show All
SQL Server Sending Table Variable Argument using MSFT JDBC Driver
Hi. I want to call a stored procedure that has a table variable as its parameter. I am using the MSFT SQL Server 2005 JDBC driver 1.1, however I don't know how to construct a table variable from the Java side to place within a CallableStatement. The CallableStatement interface allows me to set various types of parameters (e.g. Boolean, Byte, Blob, Array, etc.) but I don't see anything for table variable. Is there a way to do this You are correct that SQL Server does not support an ARRAY data type. However, you can find various alternatives by searching on terms "array" "parameter" and "sql server". One collection of methods is at http://vyaskn.tripod.com/passing_arrays_to_s ...Show All
SQL Server Cannot create DSN to SQL Express
I installed SQL Express and was able to create a new DB using Management Studio. I was able to copy over tables from another DB using DTS, but strangely the Native Client would not work I had to use OLE for SQL Server. But I am unable to create a DSN to the database using ODBC Administrator. I keep getting Login Timeout expired error message, using both Native Client and SQL Server drivers. What am I missing Thanks Mark The statement "MARK_LAP\SQLEXPRESS which is the name of the server" is a bit misleading as this is the name of the named instance which the service uses. YOu always have to name the instance with the "\instanceName" snippet if its not a default instance. Otherwi ...Show All
Visual Studio Express Editions Select Port :-
I have a combobox, for selection of port num. And I define the com port selected with the method stated below. But it only works when i work with COM1, when i select COM2, its not going to work. Whats the problem with it For i As Integer = 0 To _ My .Computer.Ports.SerialPortNames.Count - 1 ComboBox1.Items.Add( _ My .Computer.Ports.SerialPortNames(i)) Next With SerialPort1 .PortName = ComboBox1.SelectedItem You need to help us with more information if you want us to help you... How do you know it is not working on com2 Are you sure that You are connected to com2 What code are you using (the above code does not communicate with a port) ...Show All
SQL Server Error or Bug? Field in dataset won't display on report
I've got a report with 6 datasets. Each dataset has a field labeled LastUpdateDT which basically shows the last time data for that dataset was updated. All the datasets are called via the same stored procedure in the SQL database. I pass a value in to select the appropriate dataset to be returned. Each dataset returns the same fields, the only difference is the meaning of the data in each dataset, all field names and types are identical. I'm having a problem with 2 of the datasets in the report. Each dataset is displayed in it's own table in the report. When I add the LastUpdateDt field for the 2 problem datasets to the tables, it ALWAYS comes back empty. If I run the stored proc, the LastUpdateDt field has data, if I query the dataset ...Show All
