Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

sri_0099

@sri_0099
About
Posts
36
Topics
21
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Automatically add a new row when the user presses "Tab"
    S sri_0099

    I would like to have the grid automatically add a new row when the user presses "Tab" from the last cell in the last row of the grid. I have set AllowUserAddRows property to "false" Thanks, Sri

    Windows Forms css

  • IE show up on Top of parentForm
    S sri_0099

    Hello Eddy, Yes, i set the parent form as property. And before closing childform i called prentform.activate() method. Regards, Sri

    Windows Forms

  • IE show up on Top of parentForm
    S sri_0099

    Hello All, When internet explorer open and have it maximized on the screen, and if then goback to my application and then click on menuitem. Which popups a child form. Upon closing child form, parent form loosing its focus and IE show uop on Top of my application. How i can i activate my Application when any child form closed. Thanks In Advance. Sri

    Windows Forms

  • Windows Crypto API is not working on 64 bit
    S sri_0099

    Thanks for the help. I had compiled all the solution for 32 bit. Now it is working great. Thanks, Sri

    Visual Basic help cryptography json announcement lounge

  • Windows Crypto API is not working on 64 bit
    S sri_0099

    Hello All, My application is using CryptGenRandom() API to get random numbers. This API is working in all 32-bit computers. I recently installed my application in windows-7 64-bit computer. On this machine CryptGenRandom() API is throwing below error. Problem Event Name: APPCRASH Application Timestamp: 4b84b933 Fault Module Name: StackHash_6299 Fault Module Version: 0.0.0.0 Fault Module Timestamp: 00000000 Exception Code: c0000005 Exception Offset: 000007ff005880cb OS Version: 6.1.7600.2.0.0.256.48 Locale ID: 1033 Additional Information 1: 6299 Additional Information 2: 6299b6a70d20c6215a02ce0a4291f9cc Additional Information 3: 7130 Additional Information 4: 71302fa4a91436747a963f67bb2f095e Sample Code: ReDim bChallengeArray(127) lres = CryptGenRandom(lhcsp, 128, bChallengeArray(0)) lres = CryptEncrypt(lhkey, 0, 1, 0, bCryptBufferArray(0), ldatalength, lBufferLength) Please don't ask me to use managed code, because this is maintanance project client will not agree to change the code. If anybody have any idea, please let me know the solution. Thnaks in advance. Sri

    modified on Friday, February 26, 2010 5:16 AM

    Visual Basic help cryptography json announcement lounge

  • XSD class generation tool
    S sri_0099

    Hello CBadal, Do you have any luck on generating .cs files for the schemas that are imported. If so can you please help me how to do. Please assist me. Thanks, Sri

    C# csharp database tools xml question

  • System.Xml.Serialization.XmlElementAttribute as a parameter to WebMethod
    S sri_0099

    hi, I am trying to test a webservice using a proxy class, but i cannot understand what to pass as a parameter to the methods in my class. They all take a (System.Xml.Serialization.XmlElementAttribute([namespace]) ref class classobject) - can someone please explain? do i have to read the appropriate xml request and somehow pass it to the method? your help would be greatly appreciated. thanks

    WCF and WF xml json help question

  • WebService using WSDL and XSDs
    S sri_0099

    Hello, We have given WSDL and XSD's and asked to create web service, binding, etc in .NET environment. Can anyone please help me, how to create webservice based on WSDL and XSDs. What we did is, 1. created .cs file from multiple XSD's - XSD.EXE 2. created proxy class of wsdl file using wsdl.exe utility. what to do next for the web service creation. Thanks, Sri

    WCF and WF wcf csharp wpf tools help

  • How can I generate multiple classes from xsd’s with common includes?
    S sri_0099

    I have a few nice xsd files which I want to convert to classes using xsd.exe. All the xsd's have the same includes, like this: When I generate a class for each xsd the types declared in these files are duplicated for each original xsd. Is there any way not to duplicate enums,clasess and etc. Please assist me. Regard, Sri

    XML / XSL question

  • How to know print given to network printer is success
    S sri_0099

    Thanks Dave, My application is printing checks. Before printing check number is saved to database. If print fails at any reason (Paper Jam,Paper Out,Not connected...etc) i nedd to update database with default check number "000000". Thats why i need print staus of check. Dave, Can you please give me idea to get the status.Please Thanks, Sri

    Visual Basic sysadmin tutorial

  • How to know print given to network printer is success
    S sri_0099

    Hello All, I have called PrintDocument.Print() method to print given document. How to check given print is success or not. Regards, Sri

    Visual Basic sysadmin tutorial

  • Unable to catch print exceptions
    S sri_0099

    Bob, No luck with Try/Catch. With PrintDoc.Print() it is adding document in queue. where as my old system not adding doc to printer and is shoing error like network error. Really i want solution for this..if printer does not return any vaklue then my code goes wrong.Please assist me. Regards, Sr

    Visual Basic csharp c++ sysadmin help

  • Reference dlls in sub folders
    S sri_0099

    Nathan, Use System.AppDomain.CurrentDomain.BaseDirectory to get root directory where EXE is. from rootdirectory you can fetch directories inside root directory. Regards, Sr

    Visual Basic sysadmin

  • Need help on which function/method to use [SOLVED]
    S sri_0099

    Vijay, use contains method like.. If name.contains("") 'your code Hope it helps

    Visual Basic help database question

  • Unable to catch print exceptions
    S sri_0099

    Hello All, I am new to .NET. Can any body please tell me how to catch all possible error that PrintDocument.Print() method returns!!! I have installed a dummy printer on my machine..and tried to give print using PrintDocument.Print() method, but it is not giving any error. When i tried with an older application(which is written in C,C++)..it is throwing an error saying Network printer error. How can i catch same error using VB.NET 2005. Thanks in advance. Regards, Sr

    Visual Basic csharp c++ sysadmin help

  • Event and delegate from C# to VB.NET
    S sri_0099

    Thanks Navneeth, Can you please expline how to do this. I am new to vb.net. Please.

    Visual Basic csharp help question

  • Event and delegate from C# to VB.NET
    S sri_0099

    Hi, i have below short code in C# public delegate void MsgEventHandler(object sender, ChatEventArgs e); public static event MsgEventHandler ChatEvent; private void Message(ChatEventArgs e) { MsgEventHandler temp = ChatEvent; if (temp != null) { foreach (MsgEventHandler handler in temp.GetInvocationList()) { handler.BeginInvoke(this, e, new AsyncCallback(EndAsync), null); } } } and when we translate in vb.NET Public Delegate Sub MsgEventHandler(ByVal sender As Object, ByVal e As ChatEventArgs) Public Shared Event ChatEvent As MsgEventHandler Private Sub EmergencyMessage(ByVal e As ChatEventArgs) Dim temp As MsgEventHandler = ChatEvent If temp <> Nothing Then For Each handler As MsgEventHandler In temp.GetInvocationList() handler.BeginInvoke(Me, e, New AsyncCallback(AddressOf EndAsync), Nothing) Next End If End Sub but i have error, Saying ChatEvent is an event and can not be called directly.Use a 'Raise Event' statement to raise an event. can u help me to figure it out from c# to vb.net? thank you regards Sri

    Visual Basic csharp help question

  • Event and delegate from C# to VB.NET
    S sri_0099

    Hi, i have below short code in C# public delegate void MsgEventHandler(object sender, ChatEventArgs e); public static event MsgEventHandler ChatEvent; private void Message(ChatEventArgs e) { MsgEventHandler temp = ChatEvent; if (temp != null) { foreach (MsgEventHandler handler in temp.GetInvocationList()) { handler.BeginInvoke(this, e, new AsyncCallback(EndAsync), null); } } } and when we translate in vb.NET Public Delegate Sub MsgEventHandler(ByVal sender As Object, ByVal e As ChatEventArgs) Public Shared Event ChatEvent As MsgEventHandler Private Sub EmergencyMessage(ByVal e As ChatEventArgs) Dim temp As MsgEventHandler = ChatEvent If temp <> Nothing Then For Each handler As MsgEventHandler In temp.GetInvocationList() handler.BeginInvoke(Me, e, New AsyncCallback(AddressOf EndAsync), Nothing) Next End If End Sub but i have error, Saying ChatEvent is an event and can not be called directly.Use a 'Raise Event' statement to raise an event. can u help me to figure it out from c# to vb.net? thank you regards Sri

    IT & Infrastructure csharp help question

  • Show Notification
    S sri_0099

    Thanks Richard. But the article is for standerd message box. I have created my own message box (Form), for which i need to set either "ServiceNotification" or "DefaultDesktopOnly". I am not able to find, how to set those properties. Please help me. Thanks

    Windows Forms help tutorial

  • Show Notification
    S sri_0099

    Thanks Richard, I am developing custom MessageBox. When i call it from winservice it is thrwoing error. It says set servicenotification. Richard, How to set "ServiceNotification" propert of custom messagebox. Thanks

    Windows Forms help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups