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

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

MrudulaYamini

Member List

Kea
Lariamon
CruzPedro
pamidcc
RJBriscoe
Tom Nt
okey83
pankajsparashar
Cosmin Nicolaescu
MrJul
Daniel Pratt
Will Merydith
Maheswar
Tamalero
yeahbuddy
Kevin Hoffman
Deco
Cattox
odefour
Puzzl3b0x
Only Title

MrudulaYamini's Q&A profile

  • .NET Development Safely pass data from a socket's BeginReceive method?

    Hey there! I'm writing a class called "Connection" that creates a telnet connection to a server, and I'm using a socket to handle the connection. I use BeginReceive to asynchronously receive data, and an event to pass the received data to anything handling it. Here's the sub that handles data receiving: Private Sub OnReceiveData(ByVal ar As IAsyncResult) Dim s As Socket = DirectCast(ar.AsyncState, Socket) Dim ReceivedBytes As Integer = s.EndReceive(ar) If ReceivedBytes > 0 Then RaiseEvent ReceivedData(Me, ASCII.GetString(Buffer, 0, ReceivedBytes)) Sock.BeginReceive(Buffer, 0, Buffer.Length - 1, SocketFlags.None, New AsyncCallback(AddressOf OnReceiveData), s) Else Disconnect() End If End Sub Now, when I mad ...Show All

  • SQL Server Service problems after SP1 upgrade

    We have an instance of SQL 2005 enterprise that was upgraded to SP1 over the past weekend. This instance has been very stable and the server hardly ever has any issues. After upgrading to SP1 a couple times a day SQL service has been terminating unexpectedly. The following events are being logged - Application Log: Event ID 17311 SQL Server is terminating because of fatal exception c0000005. This error may be caused by an unhandled Win32 or C++ exception, or by an access violation encountered during exception handling. Check the SQL error log for any related stack dumps or messages. This exception forces SQL Server to shutdown. To recover from this error, restart the server (unless SQLAgent is configured to auto restart). SQL Ev ...Show All

  • .NET Development Returning an Arraylist from a web method!

    hi! I have a web method that returns an arraylist of objects of type accommodation, when I try invoke this method, I get this msg. System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: The type localhost.Accommodation was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically. at System.Xml.Serialization.XmlSerializationWriter.WriteTypedPrimitive(String name, String ns, Object o, Boolean xsiType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write1_Object(String n, String ns, Object o, Boolean isNullable, Boolean needType) Check the method below! [ WebMethod ] [ Xml I nclude ( typ ...Show All

  • .NET Development serial communication in VS.net

    What is the MSCOMM32.ocx equivalent in VC++ 2005 and could I have a short sample code how to use it The System.IO.Ports.SerialPort class. And a sample application . ...Show All

  • Visual Basic UserDomainName - Domain or Workgroup?

    Hi all, I've used System . Environment . UserDomainName to find out what domain/workgroup the user is on, but how do I know if its actually a domain or workgroup that they've logged onto. I want to be able to do stuff if they're not logged into a domain. Thanks in advance... Scott There may be a more official way but I found this: http://www.devx.com/tips/Tip/26562 type=kbArticle&trk=MSCP Basically you attempt to enumerate the DC name for the "domain" part of the user name, if it pops back with a name then you are in a domain, empty then workgroup. Not tried it and seems a bit untidy but may work. Had a bit of a play, do not have a domain ...Show All

  • SQL Server Error 28092 when upgrading from Express to Workgroup Edition

    Hello, when I try to upgrade SQL Server 2005 using this command line: setup.exe /qb SKUUPGRADE=1 UPGRADE=SQL_Engine INSTANCENAME=Z1 SQLACCOUNT=NT-AUTORITAT\SYSTEM SECURITYMODE=SQL SAPWD=XXXXXX I get error 28092 (administrator rights needed). It seems like the upgrade tries to use Windows authentification although I've told it to use SQL Server authentification. Or did I miss a parameter in my command line If I do the upgrade manually it works without needing Windows authentification. This error means that the user who is running the setup is not sysadmin in the SQL instance. It makes sense this happens on Vista because of AUC the user is not recognize as NT administrator. You need to add yo ...Show All

  • Visual Studio Team System Hierarchical work items

    Hi all I played a little with the work items in VSTS and I wondering if it is possible to define hierarchical work items. This would be a feature that I need for shore. I saw that there is an "Add related work item" menu, but using this is not really giving me the hierarchical feeling that I need. Is there a way to define hierarchical work items Regards. George. We don't have inbuilt support for hierarchical work items in v1. We are currently working on providing this ability in next release. You could work around it by using a Parent field to WIT definition to build a hierarchy. If you really want the support you could build it using our linking extensibility but this will be quite a bit of ...Show All

  • .NET Development type resolution ?

    My problem is the following ...   1. I want to write a plugin loader that loads a concrete plugin implementing IPlugin 2. I Plugin does something when its methods are called. Some methods take a parameter e.g. IPlugin.PerformWork(ISomeInterface RealImpl); assuming an implementation MyPlugin : IPlugin { /*SOMETHING HERE*/ PerformWork(ISomeInterface RealImpl) { Console.WriteLine("PLUGIN PERFORM WORK"); SayHelloWorld(); SaySomething(); } 3. How ISomeInterface looks like is defined in another library e.g. interface ISomeInterface { void SayHelloWorld(); void SaySomething(); } now I load the plugin from within my plugin loader and execute PerformWork(..) on the plugin. The plugin loa ...Show All

  • Visual Studio Visual Studio 2003 help very slow

    I have Visual Studio 2003 with the MSDN library installed locally. When I search in the help the topics are found instantly, but when I click on the topic the help goes off to the web and downloads the help topic. This would be all well and good but it sometimes takes up to 5 minutes to do this during which time Visual Studio and all other running programs are unusable. I have ensured that ALL the help is installed locally, but I cannot find any options to specify 'Load help locally', not from the web! Has anybody else experienced the same problem More importantly does anybody know a solution! Thanks in advance. Thanks for the reply... I tried that this morning, initially it looked to be quicker but a lit ...Show All

  • SQL Server Absolute Beginner in SQL 2005 EE, needs help.

    Hi everyone. Using C# 2005 EE with SQL 2005 EE I am really new to SQL, got qns here. Can my program with SQL database run correctly on another com using win xp home edition, with only C# 2005 EE installed Is it compulsory for every table in a database to have a primary key Can I extract a data from a specific cell in a database table(click button get data) How do I go about doing it (the simplest n straight forward method) Many Thanks in advance. Regards, dragoncells.     dragoncells wrote: I assume you are telling me that if my application has a SQL database than I must have SQL server 2005 EE installed on that computer for it to work. You don’t need to ha ...Show All

  • Internet Explorer Development IE7 Tabs

    I am looking for a way using the SendMessage API or something along those lines to activate a different Tab from an external application, so I can detect if a URL is already open and restore that instance of IE and automatically switch to the proper tab. Hi Michael, There are not specific APIs for automating tabs in IE7. You can you accessibility APIs to activate different tabs. We are looking at this area for future development and it would help to understand exactly what you'd liek to see here. Thanks -Dave ...Show All

  • Visual Basic send to a printer in VB.net

    Isn’t there a way to send an MS Word doc to a printer in VB.net We generate dozens of Word docs for our clients daily, and would like to create a simple app that will list the files in a selected folder and allow them to highlight as few or as many as they want and send them to their default printer. I can’t seem to put my finger on any information describing a similar task in VB.net. Thanks, Michael Nicholas Thanks…I’m anxious to try it. I’m getting an error “Declaration Expected”, referring to each time “proc” is mentioned. Suggestion on how to fix that Mike ...Show All

  • Software Development for Windows Vista Windows SDK Documentation

    Hello,   If you have the Windows SDK and Visual Studio installed, you can help me.  Please tell me if your Windows SDK documentation is integrated with your Visual Studio 2005 documentation.  Thankyou. Because mine isn't.  Assistance appreciated. I did a clean installion of Visual Studio on Vista RC2, and I installed the following additional items in the order shown. installed VS2005 sp1-KB918525-X86-Beta-ENU installed MicrosoftR WindowsR Software Development Kit for RC 1 of Windows Vista  and .NET Framework 3.0 Runtime Components installed Microsoft Visual Studio Code Name Orcas Community Technology Preview  – Development Tools for .NET Framework 3.0 - vsextw ...Show All

  • Visual C++ FindWindow usage

    Hi all. I've narrowed my searches of the FindWindow function down and found out a lot what i was doing wrong. However i still have a problem, the function compiles and works fine, because i used if/else statements to make sure it was working up until the end. Im trying to get the address bar of IE but i keep failing. I remembered Spy++ 6.0 and used it to find out the class that the address bar is in. From what i've found out they go in order: IEFrame WorkerW ReBarWindow32 Address Band Root ComboBoxEx32 ComboBox Edit heres my code: #include <windows.h> #include <stdio.h> #include <fstream> using namespace std; int main() { char addy[MAX_PATH]; HWND handle=FindWindow("IEFrame", "Internet Explorer"); ...Show All

  • Gadgets can we sell gadgets?

    can we sell gadgets Don't see why not, but remember they're open source unless you compile all your code into an ActiveX COM DLL. Personally, I think they should be free - for home users at least. "Business use" Gadget, fair enough, charge a license fee for them. ...Show All

©2008 Software Development Network