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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
N

Nanda1605

@Nanda1605
About
Posts
14
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Windows RDN name
    N Nanda1605

    Hi, Can any one help me to get the current user name(RDN) in windows using vb/c#.net am able to get the user name but i need to get the RDN name

    Thanks, Nanda

    Visual Basic csharp help

  • Adding unmanged code to VB.NET
    N Nanda1605

    Thanks Dave, I tried but It throws a message box <dll> was loaded, but the DllRegisterServer entry point was not found. This file can not be registered. I hope this dll is not com based Can you please help me how to use P/Invoke with an example.

    Thanks, Nanda

    Visual Basic help csharp c++ com

  • Adding unmanged code to VB.NET
    N Nanda1605

    Thanks JZ, But again. how to do that with regsrv32.exe, for example my dll name is nanda.dll, where i have to do this and how and what was the output

    Thanks, Nanda

    Visual Basic help csharp c++ com

  • Adding unmanged code to VB.NET
    N Nanda1605

    Hi, I am trying to add a 3rd party dll(C++) to my application which is created on vb.net. when i tried to add that dll as reference i got a error as "A reference to could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component." When i checked this in online, it seems to be unmanged code which is not accepted by .net and also they said P/Invoke command something like that. But actually i dont know how to register a dll or use Pinvoke method or how i add a unmanged dll into my application, Can anyone help in this.

    Thanks, Nanda

    Visual Basic help csharp c++ com

  • listbox in vb.net
    N Nanda1605

    Hi, I think this code will help you... Dim i As Integer For i = 0 To ListBox1.Items.Count - 1 If ListBox1.Items(I).Tostring = TextBox1.Text Then MsgBox("Already you have added this link", MsgBoxStyle.Information, "Knowledge Base") Exit Sub End If Next lstLinks.Items.Add(TextBox1.Text)

    Thanks, Nanda

    Visual Basic csharp help question

  • The type initializer threw an exception.
    N Nanda1605

    Hi, I am getting the 'Type initializer error' in module1 (for eg see the below code). The thing is i want to get the value from the dll which is added as a reference to this exe, where the value is declared in the module. Please Review the below code and suggest/help me. Project1.dll Module Module1 Public MyPath As String = "C:\Nanda" End Module Public Class Class1 Public Sub Query() MsgBox(MyPath, MsgBoxStyle.Information, "Project1") End Sub End Class Project2.exe Public Class Form1 Public MyReport As New Project1.Class1 Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MyReport.Query() End Sub End Class

    Thanks, Nanda

    Visual Basic help database

  • Application Path
    N Nanda1605

    am using MS word template, and no databases are used. pls help me in this.

    Thanks, Nanda

    Visual Basic csharp tutorial

  • Application Path
    N Nanda1605

    Hi, i like to get my projects startup path in VBA, i.e., how to find the installed folder of an application. I got the code in VB.NET but my requirement is to get in VBA as macro My.Application.Info.DirectoryPath.ToString

    Thanks, Nanda

    Visual Basic csharp tutorial

  • Handling IntPtr
    N Nanda1605

    Hi Dave, This is the code given in SDK, SSCEVB_CheckCtrlDlg(Me.Handle, TextBox1.Handle, False) Function SSCEVB_CheckCtrlDlg(ByVal parent As IntPtr, ByVal ctrlWin As IntPtr, _ ByVal selTextOnly As Short) As Short End Function Here I would like to pass the Msword Document as IntPtr instead of TextBox1.Handle as below but it doesnt support. Dim docPointer As IntPtr = Runtime.InteropServices.Marshal.GetIUnknownForObject(Word.Application) SSCEVB_CheckCtrlDlg(Me.Handle, docPointer, False) Kindly Suggest Me

    Thanks, Nanda

    Visual Basic

  • Handling IntPtr
    N Nanda1605

    Hi, Am handling the text in textbox for the below code, it works fine, I like to handle the text presents in the word document or a string value for the below code instead of Textbox1.Handle, is there any way to pass the string value as IntPtr. Private Sub Button48_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button48.Click messge(Textbox1.Handle) End Sub Private Sub messge(ByVal value As IntPtr) ' ' ' End Sub Kindly suggest me

    Thanks, Nanda

    Visual Basic

  • Problem in adding dll files
    N Nanda1605

    Hi, am recieving the error message while adding the reference(i can't able to add that dll), please help in this Error message: 'A reference (Path) could not be added please make sure that the file is accessible and that it is a valid assembly or COM components'.

    Thanks, Nanda

    Visual Basic help csharp com

  • Problem in adding dll files
    N Nanda1605

    Hi I am trying to add *.dll files as a reference in VB.NET 2005 but am recieveing the message as 'A reference (Path) could not be added please make sure that the file is accessible and that it is a valid assembly or COM components'. Help me to proceed......

    Thanks, Nanda

    Visual Basic help csharp com

  • how to get the current page
    N Nanda1605

    How to get the current page number in ms word using vb.net. i like to get the hyperlinks count in each page including the footnotes hyperlink and to store in an array

    Thanks, Nanda

    Visual Basic csharp data-structures tutorial

  • Close the word document by using controlbox
    N Nanda1605

    Hello, My project is about to check the some values in a word document and to open a new word document and type those values and to insert the BUTTON to close that document. i finished inserting the Button and i dont know how to use that button to close, I used this code to insert the command button Selection.InlineShapes.AddOLEControl ClassType:="Forms.CommandButton.1" Help me to proceed further.... :)

    Thanks, Nanda

    Visual Basic 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