arsonist's Q&A profile
Windows Forms Open IE and Navigate from VB.Net
Can anyone tell me how to open Internet Explorer and navigate to URLs from vb.net When the user clicks a button on my windows form I would like it to navigate to a URL in Internet Explorer. If there is already an IE window open, I would like it to reuse it. Something like this: If (IE is not open) then Open IE End If Navigate to URL Thanks not quite I believe, unless you get a handle of the window then do some Win32 call like SendMessage or something. The reason is because you are killing the process, which means it gets rid of it completely. I guess you could maybe do this, and see if it helps if myProcess.HasExited = false then myProcess.StartInfo = new System.Diagnostics.Pr ...Show All
Windows Forms 2 DataTables related through third
Can somebody direct me in the right direction on this, please. I have 3 tables First ------- ID, Name Second ------- ID, Name Lookup ------- FirstID, SecondID All three tables are loaded to same typed DataSet. Is there a possibility to bind one ComboBox to First, and another ComboBox to Second data table, but under condition that second will contain only values from Second data table for selected First. I actually need same thing that could be done using SQL: SELECT L.SecondID, S.Name FROM Lookup L LEFT OUTER JOIN Second S ON S.ID = L.SecondID WHERE L.FirstID = 1 I know how that could be done if it was possible to bind Lookup table (BindingSource) to some control on the form, and then create FKBindingSource. But i ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can't deploy to Xbox 360 from GSE
All Apologies but this is a repeat post from 31-Jan buried inside another thread that appears to have died. I can't push code to my Xbox 360 from GSE. This issue has been reported by other people and their problems boil down to either having entered the 25-digit code incorrectly or, in one case, that their router didn't properly support UPnP. I've regenerated, accepted and reconfigured the key *many* times, making sure I don't have any 0's, 1's, 5's or 8's in the generated key to avoid confusion. I understand this is a one-time key so I'm not reusing an old key. I am most definitely getting the key right and choosing accept, not cancel. I have downloaded and installed Windows Media Connect (I'm running Windows ...Show All
Internet Explorer Development Favicon in IE7
Hi My site uses a FAVICON, which works well in IE7. However, I've noticed that if you create a shortcut to a webpage on your XP desktop, the FAVICON is used as the desktop icon. My favicon.ico file has 2 res images of the file, 16x16 and 32x32. However, the desktop icon picks up the 16x16 version and uses that. Is there a way to make it use the 32x32 version. Or can I get windows to use a default icon. Thanks I cannot get my favicon to work with IE7. I can see it on other computers, but not on mine. I've cleared the browser cache and still no luck. Any suggestions Thanks. ...Show All
Smart Device Development GPRS connection in real device
Hi,everyone.I wrote an TCP client to connection the public network.I tested it successful in emulator. But when I tested it in real device,it failed.Then i added the connection manager,it seems that I can attached GPRS successful,but the tcp client can't connect the public network,can anyone help me Here is the code: ConnMgrEstablishConnectionSync//establish an Internet channel successfully tcpcilent.connect("220.34.24.48",9999) tcpclient.sendData() Thanks for your help. I have found the error.I opened the wrong connction. It seems that no matter what connction you open, the icon shows that it is a GPRS Connection ...Show All
SQL Server Reporting Services: timeout issue
Hi there, I've just developed this big report in RS SQL 2000 that includes 6 subreports (repeated for each item in the database) and that should print some 800 pages. A light version of the report that only queries part of the data (about 10%, for testing purposes) run with success, including all subreports in about 15 minutes. Once I try to test the report with all the data (all subreports and the main report query directly from the cube in AS), it fails under three different scenarios: 1st: The timeout setting is left as the default 1800 seconds. After half an hour the report gets partially displayed and the subreports that were not processed within the 30 minutes period display only "The subreport data could no ...Show All
Audio and Video Development Starting Focus Stuck
I set my top button to focused()=true on startup - the intention is to have one button start with focus. However in the iHDSim, I cannot nav away from this button. If I do not set focused(), then no buttons have focus, however I can click on one and then get proper navigation. I'm not sure what is going wrong. At one point I thought it was the USB keyboard. Basically if I set any of the buttons to focused in the markup, then I cannot navigate to other buttons using the arrow keys. Why would I be able to use the mouse but not the arrow keys MARKUP <timing clock="page"> <defs> & ...Show All
Smart Device Development errors for SIMReadRecord and lineGetGeneralInfo
I am trying to find the ESN numbers in CDMA phones and IMSI numbers in GSM phones, but I keep getting the following errors: SIMReadRecord: returns error 80070057 (Invalid Pointer) lineGetGeneralInfo: returns error -2147483595 (Invalid pointer) my partial code for finding ESN: #include "tapi.h" #include "extapi.h" #define TAPI_API_HIGH_VERSION 0x00020000 #define EXT_API_LOW_VERSION 0x00010000 #define EXT_API_HIGH_VERSION 0x00010000 /*********************************** Obtain ESN number - BEGIN ***********************************/ //system info variables for obtaining processor information SYSTEM_INFO sysInfo; TCHAR processor[128]; TCHAR esn[20]; //line general info va ...Show All
SQL Server Printing SQL Diagrams, row header boxes resize incorrectly
http://www.alfware.com.au/sqlerror.pdf This is an example of what is happening whenever I print an SQL Diagram Any ideas why the row header boxes resize incorrectly Regards, Michael Proctor I had the same bug and managed to figure out how to fix it; turn on "visual styles" in windows! I know, mad stupid but it works. Evidently microsoft never tried SQL management studio on a windows machine with visual styles turned off. Personally I hate the cuddly rounded windows, but for now I have to live with it... ...Show All
.NET Development Breakpoints aren't working in a windows service using VS 2005
Hi All, I am still new to windows services and came across this poblem that i cant manage to solve . The problem lies when im starting and running the windows service and after I am attaching the .exe to a process and inserting a breakpoint. Although the service is runnng and doing what its got to do its not breaking/hitting the breakpoint. Infact when i hover over the breakpoint it states The breakpoint will not currently be hit. No symbols loaded for this document. But when for instance im creating a windows application the breakpoints work fine! Could anyone assist me in this Thanks in Advance Matt I am having the same problem, and have followed all your instructions wh ...Show All
Visual Studio 2008 (Pre-release) BitmapImage is not raising the DownloadCompleted event
Why isn't the DownloadCompleted event raised when the instance of BitmapImage is created in a worker thread It does raise the event as expected if it was created in the main thread, so is this limitation "by design" void OnClick(object sender, RoutedEventArgs args) { ThreadPool.QueueUserWorkItem( delegate { BitmapImage bitmapImage = new BitmapImage(); bitmapImage.DownloadCompleted += new EventHandler(bitmapImage_DownloadCompleted); bitmapImage.BeginInit(); bitmapImage.UriSource = new Uri("http://forums.microsoft.com/library/toolbar/3.0/images/banners/msdn_masthead_ltr.gif"); bitmapImage.EndInit(); }); } //The code bellow is never executed: void bitmapImage_DownloadCompleted(object ...Show All
Smart Device Development using Owner drawn list view
Hi All, I want to use a owner drawn listview in my application. I do not know how to create an owner drawn list view . Can any body help me. Please send links of the releted resources Regards Bijaya Thanks a lot But again one problem arises. I want to add check boxes to each and every item of the owner drawn list view. How can I do this Regards Bijaya ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Questionable Design?
Granted, I'm only a hobbiest, but it seems that many of the samples in this beta just have some very poor design regarding encapsulation. Is it no longer one of the pillars of good OO that an objects data is private and exposed through accessors Steve Hoff wrote: Granted, I'm only a hobbiest, but it seems that many of the samples in this beta just have some very poor design regarding encapsulation. Is it no longer one of the pillars of good OO that an objects data is private and exposed through accessors I'm assuming you're referring to the Spacewar example ( or did you mean the output of the community at large ) I see a couple places where they have public members, but otherwise seemed solid ...Show All
Visual Studio I can't run VS 2005 on Vista
I have installed Vista Ultimate from MSDN. On clear Windows (without any optional drivers and programs) I have installed Visual Studio 2005 Professional. But when I try opening Visual Studio it always closes ! In Event log is description like previous posts: Faulting application devenv.exe, version 8.0.50727.42, time stamp 0x4333e699, faulting module ntdll.dll, version 6.0.6000.16386, time stamp 0x4549b87a, exception code 0xc0150015, fault offset 0x0002b216, process id 0xd18, application start time 0x01c751532be98c50. The same error is when I try open documentation of Vista SDK (after installation it on my system) I have try SP1 for Visual Studio 2005 and SP1 Beta on Vista but the error with ntdll.dll doen't disappear. ...Show All
SQL Server sql 2005 Transaction log size
We have a database that is backed up every night (full backup). The database size is around 5GB and the transaciton log is about 3GB. And it's 3GB after the backup too. I thought the log size should shrink after each full backup. I can't imagine what data the log needs to maintain after a full backup is complete. What can be done about this large transaction log TIA, barkindog It's not quite clear if you mean the sizing of the physical file or the contents of the logfile. In general, the size of the transaction file(s) should be left as is when you have 'normal' activities in your db. The log will grow to the size it needs in order to accomodate your largest transactions, and assuming ...Show All
