Junior_Developer25's Q&A profile
.NET Development easy winsock question
I've been using visual basic for a few years but I just switched to .NET today, and I can not figure out how to add a winsock control, can someone help me Thanks. I am very interested in learning how you used to use the VB6 winsock control. Do you use the control to implement a custom protocol ontop of TCP OR Do you generally use the control to implement a standard protocol such as HTTP or FTP to perform such operations as "Download a file", "upload a file", etc. Would you prefer a generic socket control (like VB6) where doing common operations like uploading and downloading ...Show All
Visual Studio 2008 (Pre-release) InfoCard: ADFS
Reading the InfoCard Guide to Integrating with InfoCard I was asking myself if the ADFS can be considered (and how) an Identity Provider. Any thought Thanks, Pierre Hi Pierre, Future version of ADFS will support InfoCard. It means it can act as Identity Provider. It can also act as an STS to the Relying Party. For example, this STS can accept SAML token, in exchange of a custom token; and the ultimate recipient in the RP can understand this custom token format. Thanks. ...Show All
.NET Development vb.net to c#.net
Greetings All, i need to convert a functin from vb.net to C#.net here is the vb.net function, when i convert the function using converters i am getting few problems. my main problem is ReDim and ReDim Preserve. these function are not available in C#, how can i convert to C# accordingly. can any body pls provide me a solution. thanks in advance Protected Function GetRowsList( ByRef oReader As SqlDataReader, Optional ByVal nStart As Long = 1, Optional ByVal nRows As Long = -1) Dim nCols As Integer Dim rCnt As Long = 0, nbegin As Long = 0, nEnd As Long = 0, nCol As Long ...Show All
Smart Device Development changing label color
hi there, i was developing an device application. i was trying to change the back color of a label in my device application to web's category color or custom color, but it take no effects. only color under the system category will do is it cannot use color other than the system's color in .net compact framework Please see this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=178752&SiteID=1 ...Show All
Visual Studio 2008 (Pre-release) svchost error (again!)
I seem to be havng the same issue a lot of people are having. When I boot my computer I get a Generic Host Process for Win32 error. I only see this during boot. This error seems to point to a file called vssapi.dll as well as a '.dir00' folder. Throughout using my computer I receive 'svchost.exe instruction at "0x754067d3" referenced memory at "0xfffffff" ....." errors. I've made numerous attempts to find what is causing this but haven't been able to yet. I have been able to narrow it down to (what seems like) Microsoft applications. If I try to update Windows Defender I get the message, trying to update the OS ...Show All
Visual Studio StoredProcedure, parameters not working in Crystal .Net loading
I use Visual Studio 2005, I create some basic stored procedure on my SQL server 2000. Then i create web project and dynamcli create ReportDocument and fill parameter @id with some value crReportDocument.SetParameterValue(0, 6); or crReportDocument.SetParameterValue("@id", 6); when i load report crReport.ReportSource = crReportDocument fails with error Failed to open a rowset. Details: ADO Error Code: 0x Source: Microsoft OLE DB Provider for SQL Server Description: Procedure 'test' expects parameter '@id', which was not supplied. SQL State: 42000 Native Error: Failed to open a rowset. Error in File C:\DOCUME~1\mkv\LOCALS~1\Temp\Report2 {0 ...Show All
Visual C# can i convert from string to guid
Hi can i convert from string to guid please if i can send example You can use the Guid( String ) contructor overload: string guidString = "..."; Guid guid = new Guid( guidString ); ...Show All
Visual C# Mistake in C# 2.0 specification?
" anonymous@discussions..microsoft.com " <David M. Kean@discussions.microsoft..com > wrote in message news:44151354-d6b6-4140-9fba-6c46b5a50fd3_WBRev2_@discussions..microsoft.com ... This post has been edited either by the author or a moderator in the Microsoft Forums: http://forums.microsoft.com I just reproduced this also. This could be considered a bug in the compiler (especially if they are not following their own standard). I suggest you post a bug on the Microsoft Product Feedback Center . Not sure what you have 'reproduced', or where you see a bug. & ...Show All
Visual Basic Real Time Data Monitoring
Hi All: I am writing a project to analyze data from a device in real time. The idea is to pick up the signal from a sensor through serial port in 20Hz and to do some calculation on the data received, and plot out the result on the form. I use a background worker to read data from the serial port and do the calculation within a Do Loop. There is no problem on this. My problem is that when I try to use GDI+ to plot the results on the form, data are not refreshed instantly on the form. I use a Collection of Single to store the data for plotting. Questions are: 1. Can Vb2005 do the job Or VC2005 is better 2. Is there a control ...Show All
Visual Studio Team System web accessible test results
Once test results are published against a build, how can i make the results viewable over the web to someone that does not have VS2005 Are you using Team Foundation Server Test Results can be published to TFS, and are viable from the corresponding build's web page report. Cheers, Dave ...Show All
.NET Development Sql Server Database
I have doing Database related application,in that i am having ten rows in that one of the field is name field and in name field all rows contain the same values.I want to delete only the fourth row,we should use only the name field to delete that particular record. Please give the valuable answer for my question. If I correctly understand you, then by definition what you wish to do is not possible. To perform any action on one specific row, you must have some form of unique key by which to identify the target row. If all rows have the same value in the name column, then the name column alone cannot be a unique key. If you ...Show All
Windows Forms In need of some help.... PLEASE!!!!
Howdy folks! I've got a question here. I remember seeing an article on MSDN on how to make a program, that will make your display name in MSN messenger change, depending on what you are listening to. COuld somebody be so kind as to post a small example on how to change your display name With as little code as possible so I ...Show All
.NET Development Int32 - how related to ValueType?
Hi! I am looking at System.Int32, for example, and don't understand how it's related to System.ValueType . Can someone explain how ValueTypes are implemented as structs in some detail, or refer me to a good explanation on the Web Thx, Jess C# Online.NET http://www.csharp-online.net/ the answer is in the object browser. if your going to search for INT32 you'l see that one of its base class is ValueType. CTRL + W + J = Object Browser (VS2005) ...Show All
Windows Forms tab control with close button
I'm pretty sure a tab control with a close tab button is not in the common controls. How hard would it be to get the appearance of common tab control + close button Is it time to make some custom controls You can draw outside of the Tabs in the tabcontrol using OwnerDrawFixed, but it is easily corrupted as the non-Tabs area of the control is not always invalidated when needed. You can make the TabControl Completely OwnerDraw, for an example of this see both the very basic example on my site: http://www.dotnetrix.co.uk/tabcontrols.html and the complete example by Oscar Londono: http://www.c ...Show All
Visual Studio Express Editions Visual C# 2005 Express Fails to Install
Hi, I try a manual installation of C# 2005 Express on my notebook with following configuration: AMD Turion64, 512MB RAM, Windows XP Home 32bit (Greek edition). The installer and .NET Framework 2.0 install successfully and then my PC is restarted. Subsequently, I get the following error: The following component failed to install: Microsoft Visual C# 2005 Express Edition - ENU The following components were not attempted: MSDN 2005 Express SQL Server 2005 Express x86 ********************* I have tried restarting the installation several times, with my antivirus and firewall OFF but with no luck. In my desktop PC where I have a Pentium processor ...Show All
