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

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

grambo

Member List

KetChup103821
Allen Feris
mhawb
exDreamDuck
shobapond
marianf
PieInSky
Johan Celis
gcryall
wri
eMedia
BLiTZWiNG
Kyle101
santech79
Terotech.Com Ltd
TonyV
bonza
SurfDude
Kai Fransson
MuddyTigerFeet
Only Title

grambo's Q&A profile

  • Visual C++ Error while compiling (C2664)

    Hi, I have this piece of code which I am trying to compile in VS 2005. ///////////////////////////////////////////////////////// TCHAR * strGuid = NULL; UUID myUUID1; UuidCreate( &myUUID1); UuidToString( &myUUID1, &strGuid ); ////////////////////////////////////////////////////////////// This compiles OK in VS 6.00 but it gives an error in VS 2005 (The project setiings has _UNICODE & UNICODE defined). Any help is welcome :-) error C2664: 'UuidToStringW' : cannot convert parameter 2 from 'TCHAR **' to 'unsigned short **' Types pointed to are unrelated; conversion requires reinterpret_cast, C-sty ...Show All

  • .NET Development to use the NetworkStream::Write() for synchronous sending!?

    Hi ^, i would like to realise a synchronous communication using the NetworkStream::Write() method. In theoretically ("...The Write method blocks until the requested number of bytes is sent or a SocketException is thrown. ...") it is possible to use this function for synchron sending but in fact the Write() method doesn't send the data directly to the remote machine it puts the data into the outgoing network buffer of the PC so doesn't wait for the remote machine's answer. If the outgoing network buffer is full just in this case will be blocked the Write() function. I don't know how can i avoid this buffer or how can i set th ...Show All

  • Visual Studio 2008 (Pre-release) Odd exception new to Nov bits

    I have a custom control that is a subtype of MenuItem.  I am getting an odd exception that an element already has a parent.  The stack trace is well within MS code in creating the popup.  The odd part is that a control is regenerating its logical children in the middle of a measure pass while creating the popup window.  My guess is that the popup window is trying to display the same elements that are in the logical tree holding the popup itself somehow.  I have dumped the current MenuItem style and am in the process of trying to use that to locallize the issue.  But, if this is truely odd I am reporting it and i ...Show All

  • Visual Studio Express Editions SxS installations of VS 2003, VS 2005, and C# Express 2005 are okay?

    I want to install all of these awesome tools side-by-side.  Is that possible On a different topic, can I install them on XP x64 (or even better, Vista beta x64) Thanks! All the VS products you mention can be installed side by side. They can even be installed side by side on XP x64, where they will run on WOW64. I assume they will also run on Vista, but I'm not sure. (Hey, that's what beta testing is all about ;-) Or you could ask on one of the Vista development forums. Michael Blome Visual C# Documentation Manager ...Show All

  • Visual Basic accessing a property of a collection class from one of its members

    I have a collection class (Book) which contains a list of "Page" objects. I implemented the Book class as inherited from CollectionBase so it has a built in List to keep track of my Page objects. One of the properties of the Book is Author. How can I access that Author property from within a Page object that is a member of the Book Here's a section of the relevant code: Public Class Book Inherits CollectionBase Dim mAuthor as String ' this section lets me add "Page" items to the collection class Public Function Add(ByVal value As Page) As Integer    Return List.Add(value) End Function End Class Public Class ...Show All

  • SQL Server Auto Process Messages in Target Queue

    I am little confused with this statement, can please some one clarify! Create QUEUE ReceiverQueue WITH STATUS = ON , ACTIVATION ( PROCEDURE_NAME = dbo . process , MAX_QUEUE_READERS = 1 , EXECUTE AS 'dbo' ) Does this mean when a message reaches to ReceiverQueue, it will automatically processed by dbo.Process procedure Create PROC dbo . process As Begin DECLARE @conversationHandle UNIQUEIDENTIFIER DECLARE @message_body varchar ( 100 ) DECLARE @rid int Begin Transaction ; While ( 1 = 1 ) Begin RECEIVE TOP ( 1 ) @rid = Cast ( Convert ( Nvarchar ( max ), ...Show All

  • Visual C# WebBrowser not in synch

    Hi all, I am using some Javascript to update content in a WebBrowser control. I need that changed content in my app. However, when I walk myWebBrowser.Document looking for the changed content, only the original content is there... what gives Thanks, Rod. ...Show All

  • Visual Studio msbuild Exec Task

    I'm am using the Exec Task to run my own compiler for my custom project.  There are 2 optional string parameters in the documention:  stdoutencoding, stderrencoding.  Can anyone tell me what values these can accept Thanks, Mike  The values for the Encoding properties are those values that can be accepted by System.Text.Encoding.GetEncoding(string name). It is the code page name of the required encoding. e.g. US-ASCII, UTF-8, UTF-32 etc. Full details on Encoding.GetEncoding(string value) are here: http://msdn2.microsoft.com/en-us/library/t9a3kf7c.aspx Kieran Mockford ...Show All

  • Windows Forms Filling an Array from a DataSet

    Is there a quick way to fill an array from a dataset.  The only way I know how to do this is fill the dataset and the loop through filling an array.  Is there any way to do the following arrayname=dataset("columnname") Tim Really don't think there's a simple way. You'll get slightly better performance, if possible, using a DataR ...Show All

  • Visual Studio Express Editions SQL server2005 express table is not updated with vb project

    Hello Hi am new to this and from Belgium so sorry for my languish I gave build an simple VB 2005 express program with 1 form and a few textboxes bound tot data in a SQL sever 2005 express database. The database just has 1 table Customers with en customerID as primary key, Name and Last name. When I run my project everything works just fine. I can insert en add new customers en even delete them. After I push the save button on my form my program even tells how many rows ware affected by the update. Now after I close the program and reopen it nothing has changed in the table, no rows added or deleted the table has not being ...Show All

  • Windows Forms Drag and drop reordering of rows in databound DataGridView

    I am having difficulty creating a databound DataGridView which uses drag and drop to manipulate the rows. I have checked out the unbound sample in DataGridView FAQ but that has not helped. I have a sample project which demonstrates the problem but there does not seem to be a mechanism for uploading code with these posts. Does anyone know of a databound DataGridView sample which uses drag and drop to manipulate the rows   Thanks.   You can use the code in the DataGridView FAQ, you just need to modify the DragDrop event to remove the row from your datasource and insert it. -mark DataGrid ...Show All

  • SQL Server Cannot Display result or Submit SQL statment contains Thai Character via ODBC

    Hi there, I am developing a web based application using ASP.NET. The current application developed using VB 6 with ODBC connection, Thai character can be shown correctly. But in ASP.NET with same ODBC connection, the display result characters become " " This also happened when I tried to include some thai character in my SQL statement. The Thai character also converted to " " The ODBC I am using is through IBM Client Access for iseries, version V5R2 Anyway to resolved this, Your help will be most appreciate, Tron If database is the same and ODBC driver is the same, then it could be ...Show All

  • Visual C++ Winform .Net framework

    I am working on winform application in VC++ .Net 2003 I have both .Net 1.1 and .Net 2.0 framework installed on my machine. Can I check whether my application is using .Net 2.0 or .Net 1.1 that knowledge will help me during deployment Also I would like to use .Net 2.0, is there a way to choose between the two TIA If the application is written in VC++ .NET 2003 then it will use .NET 1.1. However if the machine that runs the application only has .NET 2.0 installed there is a very good chance that the application will work if you add a configuration file that looks like this one: < xml version ="1.0" > <configuration ...Show All

  • .NET Development Getting IP address from tcpclient

    Hi, I'm using tcplistner and tcpclient to do network communications between my client and server applications. I accept the client as: TcpClient client = listener.AcceptTcpClient(); I want to get the ip address from where the client is comming. What class/methods would I use to do that. I could not see any method that would return ip address of the client that I just accepted. Regards,  -Abubakar. Hello All, I find the solution.. For my case that is, My code based on the sample chatprogram in 101 Vbsamples. I need the ip for the client. All i had to do was change the tcpclient to a socket And ...Show All

  • Visual C# Determining IIS Options via C#

    Hello. For my work, I'm automating system validation to be performed prior to installations of our software. One of the steps is to verify that certain options like "Common Files," "Internet Information Services Snap-IN", and "World Wide Web Server" are installed. I know how to verify this through Add/Remove Windows Components, yet I'm not sure how, or even if it's possible, to verify such things through the use of C# (which I'm writing the program in). Any help would be greatly appreciated. Hi The following code will help you get the list of services running in OS. From the list you try to ...Show All

©2008 Software Development Network