15,910,277 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Kieran Crown (Top 41 by date)
Kieran Crown
4-May-14 15:37pm
View
http://www.codeproject.com/Questions/768621/How-to-send-object-back-out-to-all-clients
Kieran Crown
4-May-14 14:41pm
View
I will :)
Kieran Crown
4-May-14 13:41pm
View
Is there a working example of these?
Kieran Crown
4-May-14 6:42am
View
Okay, but the client won't request the object from the server. If one client sends an object to the server I want the server to send that object to all other clients
Kieran Crown
4-May-14 6:24am
View
Have you got a working example of how I would make the server and client side work together?
Kieran Crown
4-May-14 5:57am
View
How would I use this to store and send my object to all my clients?
Kieran Crown
29-Dec-13 10:23am
View
Same machine
Kieran Crown
26-Nov-13 15:25pm
View
Deleted
How would I upload a web page to this?
Kieran Crown
25-Nov-13 12:12pm
View
Nope, I've just used the OCT tool now, seems to work fine
Kieran Crown
25-Nov-13 10:47am
View
It doesn't install, no log or anything is created
Kieran Crown
22-Oct-13 14:28pm
View
I can't use this as I need the SQL code to run on the server
Kieran Crown
21-Oct-13 17:25pm
View
Oh okay, didn't know that, I'm just having trouble implementing this into C#
Kieran Crown
21-Oct-13 16:45pm
View
Sorry, something that will allow me to insert, update,delete and read data from a table
Kieran Crown
21-Oct-13 15:59pm
View
I didn't get an error, it's just really confusing me, is there no known library for this function?
Kieran Crown
23-Sep-13 22:10pm
View
Thank you very much. I'll check it out and let you know!
Kieran Crown
23-Sep-13 18:43pm
View
Yeah it is, that's just the way JustHost do it I suppose, none the less, makes it very easy to access as long as you have a FTP login
Kieran Crown
10-Sep-13 3:17am
View
The output only updates when a command is sent, I want the output to be updated when ever something happens in command prompt
Kieran Crown
2-Sep-13 15:35pm
View
It didn't seem to work, this is the example I'm using: http://www.cachecloud.co.uk/usr_files/986bwry/
The PHP now looks like this:
Kieran Crown
11-Aug-13 15:34pm
View
Thank you I'll check it out
Kieran Crown
1-Jul-13 15:12pm
View
Thanks, I have had a look, what table would I need as I currently don't have any. And are there any examples of visual basic sql queries / code?
Kieran Crown
17-Apr-13 16:29pm
View
Okay I'll have a look
Kieran Crown
17-Apr-13 16:06pm
View
I can't seem to get mp3's to stream with this project, is that possible?
Kieran Crown
17-Apr-13 13:43pm
View
I was asking how to install the ActiveX component without the user having to install VLC client
Kieran Crown
12-Apr-13 11:21am
View
Okay, I'll try some of these out. Thank you
Kieran Crown
12-Apr-13 9:05am
View
Thanks for your feedback, I have many controls that are out of view but need to be visible as the user can scroll though them using a scroll bar
Kieran Crown
31-Mar-13 0:46am
View
Yes I did but you also asked me why I needed such a list so I was just answering that.
Kieran Crown
31-Mar-13 0:16am
View
I'm basically downloading the data from a MySQL database. I need the name of the data (string) Nd to sort them strings by a number (popularity). I'm making my own custom auto suggest feature and need to sort the results. Thanks
Kieran Crown
25-Mar-13 9:29am
View
I can't change the form border style as stated above because then the style of the form that is needed (in the example link) is lost.
Kieran Crown
21-Mar-13 19:25pm
View
Okay, I found this. It works for one key press, how would I manage to find or modify this one to work with key combos?
Option Explicit On
' inspired by:
' http://jo0ls-dotnet-stuff.blogspot.com/2008/12/vbnet-global-keyboard-hook-to-detect.html
Imports System.Runtime.InteropServices
Public Class Clip_Tray
Private Const WH_KEYBOARD_LL As Integer = 13
Private Const WM_KEYUP As Integer = &H101
Private Const WM_SYSKEYUP As Integer = &H105
Private proc As LowLevelKeyboardProcDelegate = AddressOf HookCallback
Private hookID As IntPtr
Private Delegate Function LowLevelKeyboardProcDelegate(ByVal nCode As Integer, ByVal wParam As IntPtr, _
ByVal lParam As IntPtr) As IntPtr
<DllImport("user32")> _
Private Shared Function SetWindowsHookEx(ByVal idHook As Integer, ByVal lpfn As LowLevelKeyboardProcDelegate, _
ByVal hMod As IntPtr, ByVal dwThreadId As UInteger) As IntPtr
End Function
<DllImport("user32.dll")> _
Private Shared Function UnhookWindowsHookEx(ByVal hhk As IntPtr) As <marshalas(unmanagedtype.bool)> Boolean
End Function
<DllImport("user32.dll")> _
Private Shared Function CallNextHookEx(ByVal hhk As IntPtr, ByVal nCode As Integer, ByVal wParam As IntPtr, _
ByVal lParam As IntPtr) As IntPtr
End Function
<DllImport("kernel32.dll", CharSet:=CharSet.Unicode)> _
Private Shared Function GetModuleHandle(ByVal lpModuleName As String) As IntPtr
End Function
Sub New()
InitializeComponent()
Text = "KeyboardPlus 1.01"
hookID = SetHook(proc)
End Sub
Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As FormClosingEventArgs) Handles Me.FormClosing
UnhookWindowsHookEx(hookID)
End Sub
Private Function SetHook(ByVal proc As LowLevelKeyboardProcDelegate) As IntPtr
Using curProcess As Process = Process.GetCurrentProcess()
Using curModule As ProcessModule = curProcess.MainModule
Return SetWindowsHookEx(WH_KEYBOARD_LL, proc, GetModuleHandle(curModule.ModuleName), 0)
End Using
End Using
End Function
Private Function HookCallback(ByVal nCode As Integer, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As IntPtr
' "The WM_KEYUP message is posted to the window with the keyboard focus
' when a nonsystem key is released. A nonsystem key is a key that is pressed when the ALT key is not pressed,
' or a keyboard key that is pressed when a window has the keyboard focus."
If nCode >= 0 AndAlso (wParam.ToInt32 = WM_KEYUP OrElse wParam.ToInt32 = WM_SYSKEYUP) Then
Dim vkCode As Integer = Marshal.ReadInt32(lParam)
If vkCode = Keys.Alt Then
If vkCode = Keys.A Then
End If
End If
End If
Return CallNextHookEx(hookID, nCode, wParam, lParam)
End Function
Kieran Crown
21-Mar-13 19:04pm
View
Okay so what do current Clipboard Managers use?
Kieran Crown
21-Mar-13 18:55pm
View
The content you provided isn't what I'm looking for as the key events only fire when the form has focus and I'm looking for a system wide solution and the my.computer.clipboard function doesn't allow for pasting into a application but rather just setting the clipboard data.
Kieran Crown
13-Mar-13 21:43pm
View
The application is a local exe complied within vb.net. I'm having alot of problems with the VLC plugin, I can't seem to get the total time, current position working properly
Kieran Crown
13-Mar-13 21:19pm
View
Can that be executed without being installed on the client machine?
Kieran Crown
11-Mar-13 11:03am
View
Did you ever find a solution to this as I'm having the same problem
Kieran Crown
10-Mar-13 22:20pm
View
Done :) thanks
Kieran Crown
10-Mar-13 21:03pm
View
Deleted
I'm using a UserControl and use this code to control a FlowPanel:
Public Sub Add(c As Control)
AddControl(c)
SetupAnchors()
End Sub
Private Delegate Sub delAddControl(ctrl As UserControl)
Private Sub AddControl(ctrl As UserControl)
If (flpListBox.InvokeRequired) Then
Dim d As New delAddControl(AddressOf AddControl)
Me.Invoke(d, ctrl)
Else
flpListBox.Controls.Add(ctrl)
ctrl.Padding = New Padding(0)
ctrl.Margin = New Padding(0)
ctrl.Show()
End If
End Sub
Public Sub Remove(name As String)
Dim c As Control = flpListBox.Controls(name)
flpListBox.Controls.Remove(c)
c.Dispose()
SetupAnchors()
End Sub
Public Sub Clear()
Do
If flpListBox.Controls.Count = 0 Then Exit Do
Dim c As Control = flpListBox.Controls(0)
flpListBox.Controls.Remove(c)
c.Dispose()
Loop
End Sub
Private Sub SetupAnchors()
If flpListBox.Controls.Count > 0 Then
For i = 0 To flpListBox.Controls.Count - 1
Dim c As Control = flpListBox.Controls(i)
If i = 0 Then
' Its the first control, all subsequent controls follow
' the anchor behavior of this control.
c.Anchor = AnchorStyles.Left + AnchorStyles.Top
If flpListBox.VerticalScroll.Visible = True Then
c.Width = flpListBox.Width - SystemInformation.VerticalScrollBarWidth
Else
c.Width = flpListBox.Width - 1
End If
Else
' It is not the first control. Set its anchor to
' copy the width of the first control in the list.
c.Anchor = AnchorStyles.Left + AnchorStyles.Right
End If
Next
End If
End Sub
Private Sub flpListBox_ControlRemoved(ByVal sender As Object, ByVal e As System.Windows.Forms.ControlEventArgs) Handles flpListBox.ControlRemoved
flpListBox.Refresh()
Me.Refresh()
End Sub
Private Sub flpListBox_Resize(sender As Object, e As System.EventArgs) Handles flpListBox.Resize
If flpListBox.Controls.Count Then
flpListBox.Controls(0).Width = flpListBox.Width - SystemInformation.VerticalScrollBarWidth
End If
End Sub
Public ReadOnly Property Count() As Long
Get
Return flpListBox.Controls.Count
End Get
End Property
Private Sub flpListBox_Scroll(sender As Object, e As ScrollEventArgs) Handles flpListBox.Scroll
flpListBox.Refresh()
End Sub
Private Sub flpListBox_ControlAdded(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ControlEventArgs) Handles flpListBox.ControlAdded
flpListBox.Refresh()
End Sub
Kieran Crown
22-Jan-13 6:44am
View
JustHost does not support wildcards
Kieran Crown
22-Jan-13 6:44am
View
Is there any other way to allow anyone in the world to use my program?
Kieran Crown
8-Jan-13 15:13pm
View
Where can I read up on these?
Kieran Crown
8-Jan-13 15:09pm
View
Yeah sorry, I meant something like this for each:
Dim DatabaseConnection As New MySqlConnection("Server=173.254.28.25;Database=antivuru_Rozzle;Uid=antivuru_Rozzle;Pwd=passwordexample")
Dim Query As String = String.Empty
Dim SQLCommand As MySqlCommand
Dim DataReader As MySqlDataReader
Query = "INSERT INTO users (Username,Password,Email_Address,Full_Name,Join_Date) " & _
"VALUES ('" + TextBox1.Text.ToLower + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + Date.Today + "') "
SQLCommand = New MySqlCommand(Query, DatabaseConnection)
DatabaseConnection.Open()
SQLCommand.ExecuteNonQuery()
DatabaseConnection.Close()
MsgBox("Done")
Kieran Crown
20-Dec-12 6:29am
View
Thank you very much, worked just as I wanted it to :)
Show More