Software Development Network Logo
  • VS Team System
  • Smart Devicet
  • Visual Basic
  • SharePoint Products
  • SQL Server
  • Microsoft ISV
  • Windows Forms
  • Visual Studio
  • Visual FoxPro
  • Visual C#
  • Visual C++
  • Audio and Video
  • Game Technologies
  • .NET Development
  • Windows Vista

Software Development Network >> OscarKwok's Q&A profile

OscarKwok

Member List

Dan Rooney
FrankSp
devdept
Smitha R
Zadoras
Taegello
A.Russell
Paulson Abraham
Raulsassaa
JGrebe
Forch
dba72
bigshiny90
Futzy
rsknowles
Zhao_Gil
JeremyAtGosub
snowmt
uanmi
Northern Ferret
Only Title

OscarKwok's Q&A profile

  • Visual Studio Visual Studio hangs until I move the mouse

    After the excruciating 90 minute Service Pack 1 install (longer than Visual Studio itself), I still have mouse-powered debugging. That is, Visual Studio hangs completely when I debug a project, until I move the mouse. While the mouse is in motion, the status bar at the bottom of the window shows the DLLs it's loading, but as soon as I stop moving the mouse it stops. If I set focus on a different window it finishes loading normally. Other developers on my team face this same problem, and we've all seen it in different projects. Has anyone found a fix for this Yeah this is happening when we debug ASP.NET / VB web applications. We're using 3rd party Telerik controls, but no Visual Studio add-ins. ...Show All

  • Visual Studio Express Editions Bad variable type error (DISP_E_BADVARTYPE)

    I get the error DISP_E_BADVARTYPE when running a routine that calls up an instance of Excel. However, I do not get it on all the machines I attempt it on. The code runs fine on my development machine. I have tried it on two other machines, both of which do not have Visual Studio, and it works on one but not the other. All three of the machines are configured with version 2.0 of the .net framework and Excel 2003, so I do not think it is a versioning issue. I can't understand why this is happening, and the message I get from the JIT compiler does not help very much. I'd appreciate any thoughts on the matter. The code is below. I highlighted the line at which I believe the error occurs, based on the fact that when the program terminates it le ...Show All

  • Gadgets hello!! problem with web sidebar gadget

    Hello, im new to ur forum. I'm working on a very simple gadget, but i have problem with the flyout and with showing a web site in it. Can anyone tell me how i show a wesite within the flyout box. Thank you very much. Sorry, I should have pointed out that the <a> should be changed as well. Plus there's a </br> in there. Not to mention the setFlyout function missing. Here's working code. Just make sure your flyout.html is as follows: <html> <body style="width:500px; height:500px"> <div id="frame"></div> </body> </html> gadget.html: <html> <head> <script type="text/javascript"> var url; function setup ...Show All

  • Windows Forms Running Winform application on browser

    I have heard that .NET winform application can be run on browser(like java applet) also, is that true If yes, how Also, does .NET 3.0 able to make WPF application run on browser and automatically transfer it to web application Thanks a lot. The reason of why I am asking this question is that I have a SEMI-Smart client application(as I have taken out some features of a standard smart-client app) written in .NET 2.0. I am thinking of making a ASP.NET version, but it is quite difficult to make ASP.NET UI as user-frendly as winform version. It would be great if .NET 3.0 give a solution. Do you have any suggestion Thanks a lot! ...Show All

  • Visual C++ MS DTP Issue

    Hi All, MS DTP is implemented in such a way that when using DTP Control, if a) you type in 2 digit year which is <=29, it takes it as 20XX where XX is the year you entered. b) you type in 2 digit year which is >=30, it takes it as 19XX where XX is the year you entered. As soon as user types a 2 digit year in MS DTp control, it automatically converts it to 19XX or 20XX depending upon what user typed. So, even if I do an UpdateData() and get the value to a data variable .. I get the 4 digit value and not a 2 digit ... and there is no way for me to know thatuser typed a 2digit year(which MS control automatically updated) or a 4 digit year. What I need is :- To somehow stop this conversion from happening and get the 2 d ...Show All

  • .NET Development drawing and tearing

    Hello, I'm doing a drawing program, where the user creates lines, curves, etc, and then he can move them. The problem is that I get quite a lot of screen tearing, specially when moving the lines. How can fix it Thanks in advance. Avoiding tearing requires updating the video adapter during the vertical sync blanking interval of the CRT. You'll need DirectX to do that. ...Show All

  • Windows Live Developer Forums I need to detect my network connection to see if my computer can connect to vitural earth map (http://dev.virtualearth.net/mapc

    I am developing a virtual earth map application by vc, I need to detect my network connection to see if my computer can connect to vitural earth map ( http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js ), how should i do this can you give me one sample code for me to have a reference I appreciate your help. lol. Have you searched the internet or MSDN Sounds like a fairly common thing for all sorts of applications not just VE. If not i would go and ask a vc forum. John. ...Show All

  • Visual Studio Adding contents of textboxes on RDLC report

    I have an rdlc report that has two textboxes. The values of these textboxes are items received on time, and items late. This is caluclated using decision function and counting the rows that match. I have a third text box that I want to add the contents of textbox 1 & the second textbox. Currently I am recalulating using decision functions which seems a bit excessive when I alreay have the values sitting in other textboxes. Thing is I cant find the way to call the textboxes on the rdlc report. Using =textbox1.value + textbox2.value does not work. Can anyone tell me how to use the values in these fields Try the following expression (if all three textboxes are in the same scope) for your textbox3: =ReportItems!textbox1.Value + ...Show All

  • Visual Studio 2008 (Pre-release) What's the property control should I use to present text paragraph?

    I use the control to present textblock maybe like this: "Hi, {FriendName}, Glad to receive your letter! Yours leo." Three key points: The format should remain in this way; {FriendName} is databinding; The content need not to be edited. What's the control in WPF should I use Thanks. How about TextBlock <TextBlock>  Hi, <TextBlock Text="{Binding FriendName}" />, <LineBreak />  <LineBreak />  Glad to receive your letter!  <LineBreak />  <LineBreak />  Yours leo. </TextBlock> If you can't edit the text, consider creating a converter to create this structure. ...Show All

  • Visual Studio Express Editions how to use vb2005 express into two pc

    hi, how i can to write program into two pc one is my personal pc and other is office pc.... if i copy directory project (name of program) into two pc, i doesn't see the form windows... but only the code.... help me.. thank's. Find the folder labeled Visual Studio 2005. It should be in My Documents. Then just find the project folder and transfer to the other computer. I used Babel Fish to try and translate it in case it would help. Sul vostro calcolatore, trovi un dispositivo di piegatura identificato Visual Studio 2005. E tipicamente nel My Documents. Trovi il dispositivo di piegatura di progetto e trasferiscalo fra i due calcolatori. ...Show All

  • Visual C# How to write a ArrayList-like collection type which can be used by specified data type.

    I knew that .NET 2.0 have template ArrayList for example ArrayList<int> intArray; However, due to system constraint, I use .NET 1.1 framework. My question is how to implement a collection class which can work likes a ArrayList<int> intArray; I have had it with "Type casting" of ArrayList. >< Thanks. Create a new class, and start typing the following: public class IntList : IList It should say to press Tab to generate methods for IList. Do that. Then add a private field of type ArrayList (I'll call it list ), and then go through all of the generated methods and replace "object" with "int". Inside the methods, just call the methods of list and cast as necessary. Here' ...Show All

  • Windows Forms DataGridViewButtonColumn does not render?

    What's the trick to making a DataGridViewButtonColumn render correctly in a DataGridView control I've added the column and set the text property and can even click the cell and cause the cell clicked event to fire but all I see is a blank white cell. Any ideas Thanks. It seems that your button column has its FlatStyle set to FlatStyle.Popup. Consider changing it to FlatStyle.Standard. Here is a sample of a data grid view which contains 2 button columns: the first button column has FlatStyle set to Popup and the second button column has FlatStyle set to Standard. Hope this helps. namespace WindowsApplication1 { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> ...Show All

  • Windows Forms MAJOR Bug? In Webbrowser Control

    There is a major bug in the webbrowser control, OR I am doing something wrong. I'm hoping its the second. Whenever you navigate directly to a flash application (ex. www.microsoft.com/flash.swf) in the webbrowser control, buttons in the flash application do not work unless the application is unfocused. 1) Is this supposed to happen What properties could be screwing this up 2) Are there any fixes for it if it is indeed a bug I think it may be a bug, according to this previous post... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=152285&SiteID=1 ...Show All

  • Visual Studio Express Editions Missing Template Files For New Projects In Visual Basic 2005 Express Edition

    I've installed Visual Basic 2005 Express Edition and when I click on new project I get them message "No Visual Studio template information found. See the application log in Event Viewer for more details..." If you are familiar with this, I'm sure you know the rest of the line. However, I can see where those files are in my installation folder when I use Windows Explorer. When I try to unzip these files, it would not let me. Anyone else have such a problem and how did you fix it Is there any other way of getting these files in place and showing up when a new project is clicked Suggest looking at the following thread and trying some of the ideas out. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID ...Show All

  • SQL Server connect user developed interface using WVD to DB SQLEE 2005

    Dear Friends I am a bigginer. I need to save input from textBox (User interface that I have made using VWD) to a database in SQLSEE 2005 using C#. please help me. I now how to connect to DB using Visual Items like gride view and form view. but i want to conect to DB using my developed UI lke in below. any help greatly appreciated Name input area address input area Thanks Amila This article might help: http://www.c-sharpcorner.com/Database/PlayingWithDataGridTA.asp Buck Woody ...Show All

©2008 Software Development Network