Software Development Network Logo
  • Visual Studio
  • Visual C++
  • Visual Basic
  • Windows Vista
  • Visual FoxPro
  • Smart Device
  • Game Technologies
  • Visual C#
  • VS Express Editions
  • Windows Forms
  • VS Team System
  • SQL Server
  • Architecture
  • Windows Live
  • .NET Development

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

Wynand

Member List

OptikDev
AliAhmadi
Amernath
n y n--d8bn pr95y6
aabi
gjhdigital
Aspded
Eugen D
TheGriff
Jeffrey Palermo
Egay
Ivan Operchuk
MKan
Wims
nebiecoder
Joshna
Fred Hommel
peacefrog
PedroSimao
kaffeeschluerfer
Only Title

Wynand's Q&A profile

  • Software Development for Windows Vista AddIPAddress

    Hi all, i'm trying to set the ip address from within an app, this is the code i am using however nothing is happening i've had a look around and i think it should work. could someone please take a look and tell me what is wrong with it //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// PMIB_IPADDRTABLE pIPAddrTable; UINT iaIPAddress; UINT imIPMask; ULONG NTEContext = 0; ULONG NTEInstance = 0; iaIPAddress = inet_addr("192.168.0.123"); imIPMask = inet_addr("255.255.255.0"); int dwRetVal3 = AddIPAddress(iaI ...Show All

  • Windows Forms Initializing a Windows Forms datagrid

    Does anybody know how to reset a datagrid back to it's original state with all the data cleared from the grid Ok I will use  next time... Anyway... nobody seems to be able to solve this problem... *sigh* ...Show All

  • .NET Development insertion problem

    i have a table in access2003 when a new record is inserted into the table(from windows appln) , variable counter should incremented by 1 now the problem is how to implement this and where to store the counter variable in database I believe you need to implement IDENITY field in your table and it will automatically increment on each new record. After record inserted, you could call SELECT SCOPE_IDENTITY() statement to get this value from SQL Server or SELECT @@IDENITY ina case of Access database ...Show All

  • Visual C++ VC2005 %50 Slower then VC2003

    I just migrated a graphics application from VC2003 to VC2005.  After building it, I ran a small benchmark & found that VC2005 code was about %50 slower. The Application does a great deal of floating point and integer calculations.  It also converts doubles to int quite a bit (the VC2003 version used SSE to handle this). The VC2003 version used /G7 and /Ow (which are not available in VC2005) Compiler Switches Used: (vc2003)/arch:SSE2 /c /EHa /FD /GF /GL /Gs8192 /Gy /MT /nologo /O2 /Ob2 /Og /Oi /Ot /Ow /Oy /TP /W3 /WX /Zi (vc2005)/arch:SSE2 /c /EHa /FD /G7 /GF /GL /GS- /Gs8192 /Gy /MT /nologo /O2 /Ob2 /Og /Oi /Ot /Oy /TP ...Show All

  • Windows Forms Drawing an Image before the Text in a Custom DataGridViewTextBoxCell

    Hi, I have a custom DataGridViewTextBoxCell. I need to paint an icon "prefixing" the Text. I tried overriding the Paint. And pushed the padding of the text. I have drawn my Icon in that space. But in this scenario my AutoSizeColumnsMode does not work. And the cell padding given for this cell makes the Header to be drawn with different width and the content cells to be drawn with different width. So, I would like to have a solution 1. Which allows me to put an Icon before the text. 2. Does not affect the AutoSizeColumns Mode functionality. 3. Keeps the cell resizing in sync with the Header Cell. Thanks in advanc ...Show All

  • Visual Basic Work with DHTMLEdit

    hi, I want use DHTMLEdit1 in own program and set DocumentHTML with Html code that include "Link", for Sampsel this code: <html> <body> <p dir="ltr"><a href=" www.yahoo.com</a></p> " target="_blank">http://www.yahoo.com"> www.yahoo.com</a></p> </body> </html> then in DHTMLEdit1 set BrowsMode to True and running program. when I click on www.yahoo.com on DHTMLEdit1 ,open Internet explorer and view yahoo website. But I want get " http://www.yahoo.com" in string to label, and don't run internet explorer pleas ...Show All

  • Visual Studio Express Editions Error Bindingsource

    I use a Form with a Datagridview-Control (DataGridConn), a Datatable (Testtab) and a Bindingsource (Conn). When I add a new row in the Grid and want to set some starting values (XXXX) in the Conn_AddingNew event I get the error: Objects added to a BindingSource's list must all be of the same type. The used code is the following: Public Class frmFormConn Dim WithEvents Conn As BindingSource Dim TestTab As DataTable Private Sub frmFormConn_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load Dim i As Integer Conn = New BindingSource TestTab = New DataTable TestTab.Columns ...Show All

  • Visual Basic MultiSelect List Boxes

    I have created a form with three multi-select list boxes and hidden  boxes to house the selections. I would like help with code that would allow me to sum each hidden box then multiply the sums by each other to get an answer when the "calculate" button is clicked Here's an example with 2 listboxes with objects loaded into each of them.   When you click the button it will calculate the total of all the selected values in both listboxes. If you have databound items then you could total up the .SelectedValue properties. Hope this helps.   Public Class Form1     Pri ...Show All

  • Visual Basic Listview Question

    I have a listview that contains data that I'm pulling back from a database, which works great. Now I want to add a URL to the end of a description field, when certain criteria is meet, and that works. The problem that I have is that the URL is not clickable within the listview. Is there a setting I'm missing like the richtextbox detecturl's for the listview, or is there another way to recognize that text as a link so that I can do a onclick event Secondly, once I get the click working, I'll want to add an image rather than the URL in the listview, is it possible to load an icon sized image in the listview for the url ListView. ...Show All

  • Visual Studio Express Editions ListView Control

    Help Me!! LOL. I can't figure out this darn control. Item and then SubItems. List View Control. Thanks alot. It is not so much to figure out, a ListView has Items, each Item can have SubItems SubItems is what you see in windows explorer when you have a detailed view. Everything after the filename are subitems. ...Show All

  • SQL Server How to link 2 sql server 2000 via internet ?

    Hi, I've 2 SQL Server 2000 EE (A & B). Both are connected to internet but not in the same LAN. How do I insert a row triggered from A to a table in B If I've both SQL Server 2005 Express in the same setup above, is it possible to setup as above Advice pls...TIA ! With SQL server 2000 you would have to look at something like linked servers or replication over the internet, in SQL 2005 I would use Service Broker but you need a non express SKU as part of the conversation for that to work. ...Show All

  • Visual C# calender in datagridview cloumn

      i want to display calender in each cell click for one column in dataGridView.                                                                                      --Thanks clicking the Edit should open a c ...Show All

  • Visual C++ Reg. Power saving mode

    Hi, Thanks for your reply. I want to know that is there any tool for accessing the device. Or How to write the device driver programming. I understood that the problem is in keyboard device. Could you help me how to do that. Thanks in advance Raja Ratheesh This forum is for C++ language issues. You can ask this kind of question in the MSDN discussion groups: http://msdn.microsoft.com/newsgroups/ OTP ...Show All

  • Visual Studio Express Editions Cannot find add member variable wizard in class view

    Hi, I'm in the class view window and have created a new class. I 'right click' on the class and expect to see the option: Add->member variable. In VC++ express, however, I see no option to add at all. Am I doing something really stupid, or is this not an 'option' in VC++ express. Apologies for such a dumb question, but I'd really appreciate some help. Cheers, Nick Marsi wrote: I've faced with the same problem and noticed that the issue caused due to changing Dialog resource ID (for ex. IDD_DIALOG1 - > IDD_ADDWIZARD_DIALOG) in the Properties window AFTER creating di ...Show All

  • Visual C++ Vusial Studio 2005 samples

    Hello all Does Visual Studio 2005 come with " Visual Studio" code sample If it doesn't then does this code sample exists anywhere else Regards, Sergei Sergei,  I believe I was referring to these samples at that meeting: http://www.windowsforms.net/Default.aspx tabindex=4&tabid=49#WinForms%20V2%20(Whidbey ) ...Show All

©2008 Software Development Network