Click here to Skip to main content
15,889,861 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRetreive Data from sql server along with headers or column name Pin
ashu200112-Sep-13 1:24
ashu200112-Sep-13 1:24 
AnswerRe: Retreive Data from sql server along with headers or column name Pin
Dave Kreskowiak12-Sep-13 4:03
mveDave Kreskowiak12-Sep-13 4:03 
QuestionUsing Func(Of TResult) Delegate Pin
Dominick Marciano6-Sep-13 19:14
professionalDominick Marciano6-Sep-13 19:14 
AnswerRe: Using Func(Of TResult) Delegate Pin
TnTinMn7-Sep-13 3:39
TnTinMn7-Sep-13 3:39 
GeneralRe: Using Func(Of TResult) Delegate Pin
Dominick Marciano8-Sep-13 3:28
professionalDominick Marciano8-Sep-13 3:28 
GeneralRe: Using Func(Of TResult) Delegate Pin
TnTinMn9-Sep-13 15:57
TnTinMn9-Sep-13 15:57 
QuestionDisable/enable ctrl+alt+del buttons and autorun. Pin
Otekpo Emmanuel5-Sep-13 14:13
Otekpo Emmanuel5-Sep-13 14:13 
AnswerRe: Disable/enable ctrl+alt+del buttons and autorun. Pin
Dave Kreskowiak5-Sep-13 18:25
mveDave Kreskowiak5-Sep-13 18:25 
Since you're new to programming, I HIGHLY suggest you drop VB6 right now and go get VB.NET Express. It's free from here[^].

Save yourself the grief of learning a bunch of bad habits that VB6 will teach you and you'll get far more features and flexibility by using .NET instead.


Otekpo Emmanuel wrote:
hw can i disable/enable d ctrl+alt+del keys


You can't trap Ctrl-Alt-Del. It's impossible to disable it.

Since you're code running AS THE USER when it starts from double-clicking it or from the Run key in the Registry, the user can terminate it any way they want and you can't stop that from happening. Users are always able to terminate an app running in their security context.

The solution is to move your code to somewhere that normal users don't have permissions to terminate, such as a Windows Service running as Local System. VB6 cannot write Windows Services (without hacking it in!), but VB.NET can.

Truthfully, a café application like this is far from trivial to write, secure, test (you ARE testing this for security, correct?!) and support.

GeneralHello Pin
Otekpo Emmanuel6-Sep-13 7:38
Otekpo Emmanuel6-Sep-13 7:38 
GeneralRequest Pin
Otekpo Emmanuel6-Sep-13 7:39
Otekpo Emmanuel6-Sep-13 7:39 
GeneralRe: Request Pin
Dave Kreskowiak6-Sep-13 14:31
mveDave Kreskowiak6-Sep-13 14:31 
AnswerRe: Disable/enable ctrl+alt+del buttons and autorun. Pin
Chris Quinn5-Sep-13 21:20
Chris Quinn5-Sep-13 21:20 
AnswerRe: Disable/enable ctrl+alt+del buttons and autorun. Pin
Eddy Vluggen6-Sep-13 9:26
professionalEddy Vluggen6-Sep-13 9:26 
QuestionDatabase connection using adodc control/autorun Pin
Otekpo Emmanuel5-Sep-13 13:57
Otekpo Emmanuel5-Sep-13 13:57 
AnswerRe: Database connection using adodc control/autorun Pin
Mycroft Holmes5-Sep-13 20:22
professionalMycroft Holmes5-Sep-13 20:22 
QuestionSound doesn't play instantly...but wait for next operation to complete!! Pin
Jayme653-Sep-13 3:17
Jayme653-Sep-13 3:17 
AnswerRe: Sound doesn't play instantly...but wait for next operation to complete!! Pin
Richard Deeming3-Sep-13 3:53
mveRichard Deeming3-Sep-13 3:53 
AnswerRe: Sound doesn't play instantly...but wait for next operation to complete!! Pin
Bernhard Hiller3-Sep-13 23:08
Bernhard Hiller3-Sep-13 23:08 
GeneralRe: Sound doesn't play instantly...but wait for next operation to complete!! Pin
Jayme655-Sep-13 21:23
Jayme655-Sep-13 21:23 
QuestionLate Binding issue in Copy Objects of AutoCAD Pin
Adnan Siddiqi1-Sep-13 9:42
Adnan Siddiqi1-Sep-13 9:42 
AnswerRe: Late Binding issue in Copy Objects of AutoCAD Pin
Richard MacCutchan1-Sep-13 20:47
mveRichard MacCutchan1-Sep-13 20:47 
GeneralRe: Late Binding issue in Copy Objects of AutoCAD Pin
Adnan Siddiqi3-Sep-13 3:18
Adnan Siddiqi3-Sep-13 3:18 
QuestionUsing Directory.GetFiles() WITH multiple extensions AND sort order Pin
Jayme651-Sep-13 0:15
Jayme651-Sep-13 0:15 
AnswerRe: Using Directory.GetFiles() WITH multiple extensions AND sort order Pin
Eddy Vluggen1-Sep-13 1:59
professionalEddy Vluggen1-Sep-13 1:59 
AnswerRe: Using Directory.GetFiles() WITH multiple extensions AND sort order Pin
Eddy Vluggen2-Sep-13 3:16
professionalEddy Vluggen2-Sep-13 3:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.