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
N

ninkk

@ninkk
About
Posts
18
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to show the windows File Association form?
    N ninkk

    Any idea maybe ?

    .NET (Core and Framework) tutorial question

  • How to show the windows File Association form?
    N ninkk

    Hi, i want to show the windows File Association form when user presses a button. I use the following code: Imports System.Runtime.InteropServices Public Declare Auto Function OpenWithDialog Lib "shell32.dll" Alias "OpenAs_RunDLL" (ByVal hwnd As IntPtr, ByVal hinst As IntPtr, ByVal lpFile As String, ByVal nShowCmd As Int32) As Int32 Private Sub button_ItemClick(...) OpenWithDialog(Me.Handle, Marshal.GetHINSTANCE(Me.GetType().Module), "", CInt(AppWinStyle.NormalFocus)) End Sub Well, it opens a similar form, the "Open With..." form, but i am not looking for the Open With... form. I imagine that i have to make 1-2 changes and after that then it will really open the File Association form(Set Association - Associate a file type or protocol with a specific program). Any idea what i need to change on this so it work? Thanks in advance

    .NET (Core and Framework) tutorial question

  • Does performance reduces if i use always Public Sub or Sub instead of Private Sub?
    N ninkk

    Hi, i have a project in which i mostly use Public Sub or Sub declaration because i am used to it. Most of those subs, could have been actually even Private Sub. Do i gain something if i change those subs(public subs or subs) and make it private sub in performance issue(for example memory)? thanks in advance...

    Visual Basic performance help tutorial question

  • And vs AndAlso, Or vs OrElse
    N ninkk

    Hi, what is the difference between those and which is faster? example: a=2 b,c,d,e=1 1)if a=1 and b=1 and c=1 and d=1 and e=1 then.... 2)if a=1 andAlso b=1 andAlso c=1 andAlso d=1 andAlso e=1 then.... 3)if a=10 or b=10 or c=10 or d=10 or e=1 then.... 4)if a=10 orElse b=10 orElse c=10 orElse d=10 orElse e=1 then.... Thanks in advance

    Visual Basic question visual-studio tutorial

  • How to change the color of the currently selection in ContextMenuStrip ?
    N ninkk

    No, you make mistake. Both in System.Windows.Forms.ContextMenusStrip and in System.Windows.Forms.ToolStripMenuItem there is a forecolor and backcolor property, and for sure i can set those 2 colors because i already do. How do you know on which MenuItem you are on, while you have not yet click on any and you are just browsing? You know it, because on this MenuItem you are on, it appears something like a 'selection' that has a different color. This color i want to change!

    Visual Basic question tutorial

  • How to change the color of the currently selection in ContextMenuStrip ?
    N ninkk

    Hi, i have a contextMenuStrip control with 5 items. I can change its forecolor and backcolor easy like contextMenuStrip1.Forecolor=color.Yellow. How can i change the color of the selected item when i am on it? I mean when i select for example forth item, there is a different color that shows/indicates on which item i am on. How do i change this color? Thanks in advance

    Visual Basic question tutorial

  • SQL Server 2005 express issue
    N ninkk

    Yes, i found SQL Server Surface Area Configuration. I clicked on Surface Area Configuration for Services and Connection. From there i set the reomote connections to TCP\Ip for both MSSMLBIZ and SQLEXPRESS. But is still the same, cannot connect. I even set the windows firewall to off, but still not connecting.

    Database help database csharp sql-server visual-studio

  • SQL Server 2005 express issue
    N ninkk

    Replace this "To try is we put on SQL Server tab, on Server, "clientpc\sqlexpress" and login name and password." with this "To try it we put on SQL Server tab, on Server textbox, "serverpc\sqlexpress" and login name and password."

    Database help database csharp sql-server visual-studio

  • SQL Server 2005 express issue
    N ninkk

    1. I connect using myConnection.Open(). Before attempting to connect, myConnection.ConnectionString="Provider=SQLOLEDB.1;Persist Security Info=False;UID=user;PWD=111;Initial Catalog=MyCatalog;Data Source=SERVERPC\SQLEXPRESS" After this we make myConnection.Open() This works fine only if it runs on SERVER pc that has the sql server express and database files, and when it runs on pc CLIENT that has nothing does not work, we get windows error. 2. After trying this tool, it works fine only while executing from the SERVER pc. When i try it from CLIENT pc, we get this error: "Unable to connect:An error occured while establishing a connection to the server. When connecting to SQL Server 2005, this failure maybe caused by the fact that under the default settings SQL Server does not allow romote connections. )provider: SQL Network Interfaces, erroe: 26 - Error Locationg Server/Instance Specified" To try is we put on SQL Server tab, on Server, "clientpc\sqlexpress" and login name and password. Thanks for helping....

    Database help database csharp sql-server visual-studio

  • SQL Server 2005 express issue
    N ninkk

    Maybe i was not completely clear. The error we get is the regular windows error, the asks if we want to send this error to microsoft. There is no problem with the code we use, because when we run the application on the SERVER machine that has installed SQL SERVER 2005 express and the database files, everything works perfect. Problem occurs when we try to run the application from a CLIENT machine and it connects to the database based on SERVER machine, but in cliet machine(win XP SP2) we do not have installed sql server express or mdac. Do we have to install something or to do something else?

    Database help database csharp sql-server visual-studio

  • SQL Server 2005 express issue
    N ninkk

    Hallo, we have a pc that has Visual Studio and Sql Server 2005 Express installed on it, lets name it SERVER. We did a small project/application on SERVER with Visual Studio that has to be installed on another pc(client pc, lets name it CLIENTPC) and make some sql queries. The Database is placed on SERVER and the small project/application is placed on CLIENTPC. The application makes some queries from CLIENTPC to SERVER. Our problem is that we get error even from the beginning of the application, when we run it from CLIENTPC on myConnection.Open() method. We have to notice that the CLIENT machine does not have sql server express installed on it, and it seems that we are missing something here. In sql server 2000, installation of MDAC was enough but in server express 2005 there are no MDAC. Any idea what we have to do so client could 'see' and 'work' with SERVER database files? Thanks in advance

    Database help database csharp sql-server visual-studio

  • How to view an msg file?
    N ninkk

    Dear Sirs, in our vb.net application we need to show on the form, an e-mail that comes from outlook and it is stored in .msg extension, like the way outlook does. Any idea how to do that? Maybe there is a component that does this ? ninkk

    Visual Basic csharp tutorial question

  • Question about office files....
    N ninkk

    Ok, but Microsoft viewers are stand alone application. What i need is to be able to view office files within a .net project. Maybe there exists a component control, and after you drag and drop it on the form, to give filename and to see the office files(something from microsoft or 3rd party)? For example, in order to see Pdf files, you can install Adobe Reader and add in toolbox Adobe Pdf Reader from COM Components. Is there any to do this for .doc, .docx, ppt, etc... ????

    Visual Basic question csharp tutorial

  • Question about office files....
    N ninkk

    Any idea yet???

    Visual Basic question csharp tutorial

  • please help
    N ninkk

    Yeap, Procedures executes the commands and returns nothing, on the other hand, function should always return something(integer or string, etc), to the point that they were called from.

    Visual Basic help question

  • Question about office files....
    N ninkk

    Hi, i am developing a project(vb.net 2005) which acts like an Office Viewer. That means that on a form, the user will be able to see or change page/worksheet etc, of a Word or Excel or Powerpoint file(including Office 2007). Is there any idea how to do this? ninkk

    Visual Basic question csharp tutorial

  • How to get the selected index of a ListView item ?
    N ninkk

    Hi, we use a ListView control in order to show thumbnails. After we add some thumbnails, we need to know which thumbnail(ListViewItem is selected or clicked/selected with the mouse) and for this we use ListView1_SelectedIndexChanged event. To know that, we want to know the slected index of the ListView so we use the .SelectedIndices(0) method, but it gets an exception error as shown below. Private Sub ListView1_SelectedIndexChanged(ByVal .....) Dim index as Integer index = ListView1.SelectedIndices(0) End Sub - ex {"InvalidArgument=Value of '0' is not valid for 'index'. Parameter name: index"} System.Exception Any idea how to retrieve the index of the selected ListViewItem?

    Visual Basic database help tutorial question

  • Change scrollbar color?
    N ninkk

    Hi, using VB .NET 2005, we have a ListView control and sometimes when there is no space left, scrollbars appears. What we need to do is to change the color of the scrollbars. For example to make them red. Any idea on how to do that ? nink

    Visual Basic tutorial csharp question
  • Login

  • Don't have an account? Register

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