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

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

rguarino

Member List

DevJ
bokinet
dwloeb77
Mateusz Rajca
xlordt
KFrostILEM
Keith Hill
Nishant Sivakumar
Rascal123
dlevers
Juergen Lorenz
johnseab
Horst Klein
mpco
Lil_AzZa
ATRIP
DannoCoy
Antonio Romano
TedCullen
kaushikn1
Only Title

rguarino's Q&A profile

  • Windows Forms "datagridviewcomboxcell value is not valid" when i want to bind object to datagridviewcell

    Have anybody have idea to solve my problem!! i have a class name clsProductUnit, have 2 properties, Unit and Price. (This Class represent Unit of Product) Assume that "A product have 2 Units" when user select product, i bind 2 objects of clsProductUnit to comboboxcell (I bound by using object, not string) PROBLEM OCCUR when user dropdown and select any Unit from combobox It will show "datagridviewcomboxcell value is not valid" I think problem occur because, grid try to convert my selected value (which .net determine in string to object(clsProductUnit)) PS! In this combobox column, i already set proerpty of "valueType","DisplayMember","ValueMember" ...Show All

  • Smart Device Development Problem creating NDISUIO handle

    Hi I am having a problem creating a handler for pocket pc. Below is a snippet of the code i am using. It works perfectly in WinXP but not in Windows Mobile5.0(Dell Axim X51V) I had changed the pinvoke to use coredll.dll for pocket pc. private const string NDIS_FILE_NAME = @"\\.\\Ndisuio"; DriverHandle = CreateFile(NDIS_FILE_NAME, GENERIC_READ | GENERIC_WRITE, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, INVALID_HANDLE_VALUE); DriverHandle returned is -1 which is  INVALID_HANDLE_VALUE. After the create file i got error code 161 which is "ERROR_BAD_PATHNAME - The specified path is invalid." Is my path to Ndisuio incorrect Or anyone know what is wrong Thanks in advance. It mention ...Show All

  • SQL Server SQL 2000 ReportViewer Authentication

    I can consume the reportingservice using credentials to get reportnames and folders and such, but when i go to use the reportviewer, after i set the reportpath and serverurl, I am always asked to authenticate when using the sample reportviewer with RS 2000. How can i prevent this I know there is the Icredentials that can be set using the serverreport property with the new viewer in 2005, but how about doing the same type thing in 2000 ...Show All

  • Visual C++ Memory leak identifier tool for Dot Net

    Hi all, Can anyone please tell me which is the best tool (free) for identifying memory leaks in dot net application Thanks in advance Hello   Re: Memory leak identifier tool for Dot Net   Such questions are outside the scope of this forum - for the scope of the VC Language forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=789657&SiteID=1   For such issues please use the newsgroups at http://msdn.microsoft.com/newsgroups .   OTP   Thanks Damien -- I hope pintu* suggestion helps however.   ...Show All

  • .NET Development Must declare Scalar variable

    Hi, I am using Vb.net with Sql and have the following error. Must declare Scalar variable "@ScoreDate" am going to try the data reader now to see if that fixes it but would like to know why the Datatable does not work I have looked at other Forums for the same error but have not found anything similar. Please Help This is my current code: Dim dt As New DataTable( "Scores" ) Private Sub ScoresForm_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load GetValues() End Sub Private Sub GetValues() Dim cn As New SqlClient.SqlConnection() Try Dim da As SqlDataAdapter Dim cmd As New SqlCommand() cn.Connecti ...Show All

  • SQL Server Stored procedure sort parameter doesnt work

    Hello, I am trying to make this. CREATE PROCEDURE [dbo] . [P_SEL_ALLPERSONAS] @nmpersona int , @sortorder varchar ( 20 ) AS BEGIN select nmpersona , dsprimernombre , dssegundonombre , dsprimerapellido , dssegundoapellido from personas order by @sortorder END But I got this error. Please help Msg 1008, Level 16, State 1, Procedure P_SEL_ALLPERSONAS, Line 13 The SELECT item identified by the ORDER BY number 1 contains a variable as part of the expression identifying a column position. Variables are only allowed when ordering by an expression referencing a column name. You should use dynamic SQL to accomplish that. http://www.sommarskog.se/dynamic_sql.html Yo ...Show All

  • Visual C++ How to include the System namespace?

    Hi, I'm trying to use the String.Contains method which is under the System namespace. without including the System namespace. It complains there's no such method, but if I try to include the System namespace as using namespace System; It complains there's no such namespace. Any suggestions thanks in advance! What kind of project do you have Is it managed Is it unmanaged If so, is it MFC based You can do that in an unmanaged project with STL. std::string has a method called find_first_of() that does just that. ...Show All

  • Visual Basic How to save active page displayed through I.E.6 under text page.

    Hello, I would like , through Visual Basic 2005 command, save under c:\test.txt an active sheet displayed on the screen through I.E.6 browser. I am working Windows XP . Any support will be welcome ! I have used the first code programe and it works fine. As I want to overwrite on existing file I had to change "true " by "false" in the Getpage instruction. I think it is correct now ! Then , I am able to check the full programme and apparently I notice the following : If I browse for example inside Google(Http) , and finally I get the right page, I save it inside HTMLDownload.txt and that works fine. When I do the same with Http url, then get the page Https, which I ...Show All

  • Visual Studio 2008 (Pre-release) Error:The maximum message size quota for incoming messages has been exceeded for the remote channel

    I am using WCF to develop a distributed system which can acquire real-time datas locally while analyzing datas remotly.But I transferred 80K datas to remote machine(Analysis Server),error "The maximum message size quota for incoming messages has been exceeded for the remote channel" will happen. How to solve this problem   Should I create a serialized  class to transfer data Thx a lot! Moved to the WCF forum. There is a MaxReceivedMessageSize property on the server side binding that you need to increase accordingly (I'm linking to the BasicHttpBinding, but the same property exists on practically all bindings). ...Show All

  • .NET Development StringBuilder.Replace

    My app reads text files and verifies the daa before it is processed. If a field is invalid, the app will note it and either space or zero out the bad data. The user will take the information and manually correct any incorrect fields. I am using a StringBuilder and the Replace method to change the invalid fields, however; the Replace method is not changing the data as I thought it would. My code is below. strInputText ... : Input file strHoldText ... : Holds the field data strTempText ...: StringBuilder variable The CheckIt method returns the changed data field, however; the field in the input record is left untouched by the Replace method. What am I missing here public string NumericCheck ( string strInputText ) { stri ...Show All

  • Visual Studio Express Editions which control to use?

    i would like to display a list of records in a similar way to the inbox email selector used in outlook. i.e. a list of email messages with a vertical scroll bar. i think i need to have custom control that displays the information i want about each record, and some sort of container for these objects that displays them in a list. what should i use thanks you are probably right to make a custom control to do this, a dataGridView would be a good one to start with I believe, Take a look at it. You can also as standard customize the settings of it, like back/cell color etc... ...Show All

  • Software Development for Windows Vista Black Screen / Freeze after first reboot

    I have spent many hours the past week trying (unsucessfully) to install Windows Vista. I have downloaded and installed all the most recent drivers and BIOS updates for all of my hardware. I have run the Vista Upgrade Advisor and it says that my system should be good to go and that there are no serious issues. The only item on the "Task List" is to download Vista drivers for a wireless networking adapter I have in the system to be installed after. I have tried to do an upgrade from Windows XP and a Full Install of Vista with the same results. I start the install and everything goes smoothly (installer unpacking files and getting ready for installation) until right after the first reboot. The system restarts and tries to boot in ...Show All

  • .NET Development Server connection timeout

    Hi guys, I am using the code below to connect to a server. This works fine on all the machines I have ever tried to connect to but a new server has recently been added on which it seems to timeout randomly. It would normally take 8secs to connect & retrieve information from a server but this takes 2 minutes on those random occasions. I believe that it may be the server timing out & responding a bit late as it might be busy or something.How could I possibly work around this and find out what is wrong I am using a third party SSH library to connect. I would appreciate any help StringBuilder output = new StringBuilder(); //SSH connection from 3rd party library (SSH2) //SSH Reader from 3rd party Socket s = new ...Show All

  • SQL Server need faster data transfer :: oledb

    i need to fetch data into multiple tables from a remote server (ss 2005)...so inside a sequence container , i have placed various data flow task...each task in turn gets data from oledb source to oledb destination.....there is minimal transformation involved...but the data is huge...and its taking unexpectably long...(im gettin only fresh data..identified by datetime fields of source tables..thats the only check.), and way to make it faster...source db in not in my control...so i cant get indexes on it..:( I am having the same problem. Taking data from 1 table and copying it to another table. The table only consists of 3 columns, 1 is a data type image. In SSMS it also takes forever to open the table so I can see part of the reaso ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to get amount of free/total local video memory?

    Current properties and methods (HardwareCaps.VideoMemoryTotal, Device.AvailableTextureMemory in April 2006 SDK) are returning local+nonlocal amount of memory. Is any way in MDX how to get amount of local video memory only Thank you, mikrogen Not through Direct3D - micro-management of such resources is left to the driver (as well as being a non-trivial equation anyway) and the application developer doesn't really need to know any more specific information. Bare in mind that the values used to market graphics cards aren't always that relevant to the application using them. A lot of them are twisted and distorted by marketting departments just to beat the rival... I've not personally tried it, ...Show All

©2008 Software Development Network