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

Software Development Network >> Jos Verlinde's Q&A profile

Jos Verlinde

Member List

Don Yang
Bill Reiss
Benin
bookysmell2004
Alexey Shcherbak
ayya
eliewadi
SanderS
yandrea
mikestrutter
Ivan.Drew
MagedSalah
Summoner
Alen1342
omrivm
George2
Daudi
issarto
Hooper
Nfrf
Only Title

Jos Verlinde's Q&A profile

  • Visual C# how to overload a native function

    Is it possible to overload a function from VS2005 IDE If so, I want to overload graphics.drawline() which signature in CF is drawline(pen, int x1, int y1, int x2, int y2). I want to change it to drawline (pen, point A, point B). Any help No, you cannot modify this class in any way. You have to write some sort of a wrapper/helper class. For instance: public static class ExtendedGraphics { void DrawLine (Graphics graphics, Pen pen, Point start, Point end) { //Implementaion using the available overloads... } } ...Show All

  • Visual C# New Window event help needed and some other stuff

    Can someone please help this code below is mean to opena new window but i don't want it to open my defualt browser i just want it to opne a new window in my browser also i would like my browser to goto the users homepage automatically at startup of the program, and a progress bar that works along with when i click a link it updates in the url box. My Current code using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace H2F_Browser_Beta { public partial class H2FBrowser : Form { // Updates the title bar with the current document title. private void ...Show All

  • Windows Forms How to make verical scrollbar in gridview wider

    Hi, I need to make vertical scrollbar in gridview and combobox wider because I am building a touch screen application. Any help or links will be appreciated. Control Panel + Display, Appearance tab, Advanced button. Select "Scrollbar" in the Item combobox and increase the size. This will increase the width of the vertical scrollbar for *all* applications, rarely a problem for a PC equipped with a touch screen. ...Show All

  • Visual Studio Any tutorial for GAT?

    I am wondering if there is any good tutorial available anywhere that would describe how to implement typical guidance scenarios in guidance packages from the beginning to the end Materials that I found so far are not satisfactory for the following reasons: 1. The latest Hand-on Lab seems to be created for the Dec 2005 version of GAT and cannot be registered with Jun 2006 version; 2. Most articles either describe the theory without specific examples or give specific examples of small tasks without describing a big picture; What I am looking for is a specific roadmap from A to Z starting from generating a stub for a guidance package and continuing with specific steps required to implement a scenario until the package is successfully ...Show All

  • .NET Development Bug in CLR

    I don't know where I can send bug report. So.. If 2 threads simultaneously creating another threads this way: using System; using System.Threading; namespace HungsUp { class Program { static void Idle() { while(true) { Thread.Sleep(1000); } } static void CreateThreads() { for(int i = 0; i < 50; i++) { Thread thread = new Thread(new ThreadStart(Idle)); thread.Priority = ThreadPriority.BelowNormal; thread.Start(); } } static void Main(string[] args) { for(int i = 0; i < 2; i++) { new Thread(new ThreadStart(CreateThreads)).Start(); } Idle(); } } } Then CLR will hangs up. Tested on .NET 2.0 with hotfix #1. 100% CP ...Show All

  • Visual C# Intellisense for events...

    Hi! I have a component that provides some events (via the Properties Window in VS2005) So, when when selecting some event I can show some breef text telling the user something about the event in the bottom of the Properties Window (via Attributes). But, I want to provide some help of the parameters in the generted event stub; private void myComponent_OnConnected(string ipAddress) { } How to provide some info/help about my parameter ipAddress I would like some text to show up when holding the mouse over the method name... Thanks, Mats Tanks! But this was not really what I was looking for. I also use /// comments for all my methods. My concern was how to get this working for event methods; /// <summary> /// Bla, bla... ...Show All

  • Silverlight (formerly WPF/E) Where are the user interface controls? ie: Menu, TreeView, ListView, TextBox, ...

    I cannot see any user interface controls in the WPF/E reference. When I try to instantiate something as simple as a button, it throws an exception when loading the XAML. What is the status of the support of TabPanel, TreeView, Menu, Button, ListView, TextBox, RadioButton, ... Without these, I cannot see how it would be possible to build an application user interface with WPF/E. when will be the rest of the subset control and the slim down version of .net framework avilable, will it be the jan ctp or the feb ctp. thanks prasanth ...Show All

  • .NET Development SqlConnection State property mistaken behavior

    Hello, I don’t know if this should be like this, but if so it is bringing some problems that I think could be common for everyone which works with remote database servers. I have a regular client – server system which has several windows applications on desktops communicating with a data server which supports my shared storage and database. The situation is that network is very poor and fails constantly. When I start my application I can accomplish connection but sometimes in the middle of the day the network is down. The problem is that after make the first connection this one stays pooled and later when I try to open it, everything appears to be fine, I check connection state and the result is open, ...Show All

  • Visual C++ How to get a HDC?

    I set up a doc/view structure by VS 2005. I also use Formview. I want to get a HDC of a 'picture control' window on the formview. There is a "HDC GetDC(HWND hWnd)" function in GDI, but it seems cannot be used in my program. Then I use "CDC *CWnd::GetDC()", that is "m_wndStandImage.GetDC()" in my code. but there is compile error. It said "it cannot convert from 'CDC *' to 'HDC". How can I get a HDC   farming wrote: I set up a doc/view structure by VS 2005. I also use Formview. I want to get a HDC of a 'picture control' window on the formview. There is a "HDC GetDC(HWND hWnd)" function in GDI, but it seems cannot be used in my program. Then I use "CDC *CWn ...Show All

  • Visual Studio Express Editions I am having a problem with my code.

    I was trying to make an application. the application is very simple but when i was typing the code it said there was two errors. The first error was ('ElseIf' must be preceded by a matching 'If' or 'ElseIf'.) The second error was ('End If' must be preceded by a matching 'If'.) I really need help to get this code error free. The code is at the end of this page. Thanks for helping. The code Public Class Form1 Dim door As String = "locked" Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If door = "locked" Then Button1.Text = "Unlock" Label1.Text = "The door is locked" MessageBox.Show ...Show All

  • Smart Device Development tabpage events

    Hello, I want to know if there's an equivalent event in CF for event Enter for tabpages. Basically i want to fire an event whenever the user chooses a tabpage. Thank you The selectedindexchanged only works when we are selecting tabs during runtime. my prob is that i want to know which tab i'm in when the program first started. any suggestion ...Show All

  • Visual C++ calling sleep in header function causes wrong thread to sleep

    I'm experimenting with the BackgroundWorker and have a problem. If I use the Sleep method inside the dowork method the thread correctly sleeps, but, if I put the Sleep call in a function defined elsewhere in the code the main form sleeps. Does this only depend on the position of the call Is there a way to avoid it The sleep will be performed on the thread that is calling it. If you put a breakpoint on that line, you should see the thread calling it. Whether it is in a header function or somewhere else isn't relevant. ...Show All

  • Windows Forms Insert by Data-Adapter...

    Hello All, I'm facing some problem when i insert any data to a table by using data-adapter. I've a table named "Campus" and it has three colums those are - CampusNo - Location - PhoneNo now i want to insert one row into that table...thats why i wrote.. RMSDataSetTableAdapters. CampusTableAdapter camAdap = new RMS.RMSDataSetTableAdapters. CampusTableAdapter (); try { camAdap.Insert(3, "Temp" , 123); } catch ( Exception ee) { MessageBox .Show(ee.ToString()); } but unfortunately this code is not working. even i didnt get any exception. then i did the same things with another table, but same things are continued someone please help me to find out my mista ...Show All

  • Visual Studio Team System Files Excluded

    Hi all, I'm triying to do a list of files that must never be under version control, files like .csproj (.vbproj) and all that contain user settings in a solution or in a project. Also, I would like to kwon if there are any way to exclude it in the verson control configuration. Any help will be apreciated, thanks. The following page on MSDN: http://msdn2.microsoft.com/en-US/library/ms171339.aspx Provides some guidance in this area. The relevent section is: --- File Handling by Source Control You can add the following files to Visual Studio source control: Solution files (*.sln). Project files, for example, *.csproj, *.vbproj files. Application configuration ...Show All

  • SQL Server Subreport throwing an exception when placed in a group footer

    I ran into this a few weeks ago and found that several others had as well, but no one had yet found an answer. I found the answer (at least one of the answers) this weekend and wanted to share it. I had recently added a subreport to a group footer in a table and started getting an error. Depending on the data, the error wasn't always present. I didn't have a problem when I moved the subreport to any other area in the report. Here is the error I was getting: An error occurred during local report processing An internal error occurred on the report server. See the error log for more details. It was a local report (rdlc), so naturally, there was no error log <g>. I added an event handler for ReportError and collected this inf ...Show All

©2008 Software Development Network