how can I disable/enable the minimize maximize/restore and close buttons within my code ?

Member Avatar
Member Avatar
+0 forum 1

hai, iam new to VB.NET and i don't know how to create a new user in the system or domain. By logging on into Admin we should be able to create new user for the system. thanking muralidharan.s

Member Avatar
+0 forum 0

Is it possible to set the width of a webform when it opens? Thanks in advance.

Member Avatar
Member Avatar
+0 forum 1

Alright i understand mybase.MouseMove event handles everytime the mouse is moved, but what i am having a problem with is using this code in a MDIContainer Form. When used here the mouse event is never trigged. So i am curious if there is away for this mouse event to be trigged or how i can go about getting the same results. The idea is i have an application that i want to be automatically logged out if there is no keyboard or mouse acitivity on the computer. Any ideas???? Thanks!

Member Avatar
Member Avatar
+0 forum 2

:oops: Trying to play with shapes, but can't get anything to come out. I can do it in a module, but when I try using a class and a module, I get totally lost. This is what I have: [code]Public Class CSquare Inherits Object Private mside As Integer Public Sub New&#40;&#41; mside = 0 End Sub Public Sub New&#40;ByVal sideValue As Integer&#41; mside = sideValue End Sub Public Function ToSquare&#40;&#41; As String Dim mrow As Integer = 1 Dim mcolumn As Integer Dim myChar As Char If mside <= 20 Then While mrow <= mside mcolumn = 1 While mcolumn …

Member Avatar
Member Avatar
+0 forum 10

Hi all, I want to make a report that the column headers are getting from one of the field in the dataset. Example, dataset ds has table A with 4 columns, col1, col2, col3, col4 I would like to use col1 values to be the column headers of the report, the returned dataset, ds has 4 records, and those values in col1 are ("AB","AC"," AD" and "AE") so the reports will become AB AC AD AE (distinct values of Col1 return from ds) XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX ............ …

Member Avatar
+0 forum 0

I have created a class that I believe should work. I just need to validate date. I chose to validate user name and user password. I created the class and 2-3 properties (not sure 1 will work at all), and I need to create at least 1 function. I created a function that I want to return a value...the password for a given user. I am not sure how to call the Class or implement my properties or method. Please look at this code an help me get an idea on how to implement, or if you see obvious problems …

Member Avatar
+0 forum 0

I need suggestions on how to compare a string from a textbox to a combo box list? I then need to take any items that the string is similiar to and display them in a message box? Im very confused on how to do this? I would appreciate any input> ;)

Member Avatar
Member Avatar
+0 forum 1

I would like to know how I would be able to detect what language is selected in Regional options of the control pannel. I need to know if it is in english or french. If it is possible, I would like to know ASAP. tia, Mat

Member Avatar
+0 forum 0

hello all i am novicwe to .net framework.Have problem that if i have multiple button on the page and i click any one of that page reload.Due to this having problem of flickering. i have used an iframe having flsh movie but due to this its started from the begining. i heard about command button.Whats that Thank you

Member Avatar
Member Avatar
+0 forum 1

Hi everyone, I need a lot of help with a homework assignment some pseudocode would be great. I'm trying to modify a current t-shirt ordering project. This project is supposed to keep track of each order in an array. Then it is supposed to print out the entire order with detail lines for each type of shirt (different sizes and monogram or pocket options/booleans). I am supposed to convert the event handling for the size (radio buttons)to share an event procedure. I'm supposed to use case structure for the selection. Create an array of a structure which holds the quantity, …

Member Avatar
+0 forum 0

hi my name is KEO and i need help with my programming project my project states that to write a program that requests taxable income and calculates federal income tax. Use sub procedure for the input and a fucnction for procedure to calculate the tax. they given me a table ... taxable income over| But Not OVER | Your Tax is 15% |Of Amount Over ------------------------------------------------------------------ $0 | $27,050 | $4,057.50+27.5% | $0 $27,050 | $65,550 | $14,645.00+30.5% | $27,050 $65,550 | $136,750 |$36,361.00+35.5% |$65,550 $136,750 | $297,350 |$93,374.00+39.1% |$136,750 $297,350 |$297,350 and i am lost so far this is …

Member Avatar
+0 forum 0

How can we hide the dataitems to the corresponding values displayed in a combobox? Eg:we use Dataitem property of combobox in VB.

Member Avatar
+0 forum 0

Hi, I really need help, I need to print invoices and the size of paper is half of normal 8.5 x 11. The problem is that the printer FX-870 not support the custom paper size. Someone tell me, how to make it? Thanks a lot from Costa Rica...

Member Avatar
-1 forum 0

Is it possible to scroll a richtextbox from an outside scrollbar? i know it is possible to scroll it, but isnt possible to know the real max and min attributes in a "getscrollinfo" call if the richtextbox's scroll isnĀ“t active!! this microsoft guys are stupid! any help? they give u how to get the client rectangle and update rectangle, but not the written-calculated area to calculate the suitable max for de scroll!!

Member Avatar
+0 forum 0

hi everybody I have a project to write the code for the hangman game and i got stuck now :sad: :cry: The game should allow the user to choose if he/she wants to view the man as stick figure or a picture in the stick figure i should write the code which draw circle or lines for the stick man body In addition the program should validate user's input for example it should display an error msg if the user input ? or % or &..etc I will pase the full version of my code with the form design and …

Member Avatar
Member Avatar
+0 forum 1

Hello... In VB6 I was able to write a SELECT statement to query from a table named "tcm_planned_coil@l3." However, in VB.NET, the "@l3" interferes and the query will not execute. Does anyone know how I can get this to work? Below I have simplified the query...any help is greatly appreciated! <code> Dim DataSet1 As DataSet = New DataSet("DataSet1") Dim Querystring As String = "select id from tcm_planned_coil@l3" Dim OracleConnect As OracleConnection = New OracleConnection("I SPECIFY CONNECTION STRING") Dim da As OracleDataAdapter = New OracleDataAdapter(Querystring, OracleConnect) 'Open Connection to Oracle OracleConnect.Open() 'Fill the DataAdapter da.Fill(DataSet1, "Angie") 'Close the Connection to Oracle …

Member Avatar
+0 forum 0

I'm having difficulty writing a program that would accept an input for your birthday (month, year) and tell you your zodiac sign. I having difficulty with the syntax in VB.Net because our instructor assinged us a language to create our case study and he gave VB.Net to me... I have to study the language from scratch... I can't seem to find ebooks on the net... Another case study i'm having difficulty with is how to write a program (using for loops) that would output the following: * ** *** **** ***** 1 12 123 1234 12345 Thanks in advance for …

Member Avatar
+0 forum 0

I'm having difficulty writing a program that would accept an input for your birthday (month, year) and tell you your zodiac sign. I having difficulty with the syntax in VB.Net because our instructor assinged us a language to create our case study and he gave VB.Net to me... I have to study the language from scratch... I can't seem to find ebooks on the net... Another case study i'm having difficulty with is how to write a program (using for loops) that would output the following: * ** *** **** ***** 1 12 123 1234 12345 Thanks in advance for …

Member Avatar
+0 forum 0

I'm really scared and etchy about getting VB. NET, as I've just started out in VB 6 and I've gotten pretty used to it. But I wanted to know from experts that used VB 6 before....is it a big change? Will it be hard to get used to after just starting out in VB 6? What code changes are there? Any comments are appreciated, I really don't want to end up paying so much money, then find out that it's really hard and more complicated than VB 6. Please help.

Member Avatar
Member Avatar
+0 forum 18

Does Any .net Guru knows the technology how to save th edocument inside the image???to do in visual basic .net????

Member Avatar
+0 forum 0

Does anyone know how to set the font Italics or bold Properties of the System.Drawing.Font Class? Here is what I have so far and it works fine but I cannot get the Font Bold or Font Italics to work in the GetSetting Sub? Thanks for the Help, TrussworksLeo #Region "Reg Settings" Private Sub SaveSettings() Try 'Place some settings in the registry. SaveSetting("HBNotePad", "Startup", "Top", "75") SaveSetting("HBNotePad", "Startup", "Left", "50") 'Font related SaveSetting("HBNotePad", "Startup", "BackCol", Convert.ToString(textBox1.BackColor.ToArgb())) SaveSetting("HBNotePad", "Startup", "ForeCol", Convert.ToString(textBox1.ForeColor.ToArgb())) SaveSetting("HBNotePad", "Startup", "FontName", textBox1.Font.FontFamily.GetName(0)) SaveSetting("HBNotePad", "Startup", "FontSize", Convert.ToString(textBox1.Font.Size)) SaveSetting("HBNotePad", "Startup", "FontBol", Convert.ToBoolean(textBox1.Font.Bold)) SaveSetting("HBNotePad", "Startup", "FontItl", Convert.ToBoolean(textBox1.Font.Italic)) Catch End Try End Sub …

Member Avatar
Member Avatar
+0 forum 1

Question (if you are a guru): How do you code a Multiselect Listbox in VB.NET if there is no variant datatype? I know how in VB and VBA... (or at least one way, there may be more) Any suggestions?

Member Avatar
Member Avatar
+0 forum 15

can anyone tell me how to save .jpg images in access database????

Member Avatar
Member Avatar
+0 forum 3

I need help with MICR adjustment. This sounds vague but if anyone knows how to set this up in VB.Net web application I could use some input. Also, I want to be able to click a browse button on my page to link to my files. The user should be able to select and the selection should go back to my page. Help please. Thanks muigin

Member Avatar
+0 forum 0

i have seen that any exe files i have created that can be read out by isladm.exe provided by microsoft .net SDK ... so if i am passing any data base password in my code than it can be read out using the ilsadm application....so what is the sollution if i want to keep my code secret.......

Member Avatar
+0 forum 0

Dear All, I would like to do something after the user click the datgrid header for sorting. BUt I don't know how to tell the program when did the user did the sorting action.

Member Avatar
+0 forum 0

Hello, This might be in the wrong place. My question pertains to MS Excel, and using Visual Basic for Applications (VBA). We have a user that would like to hide one of her worksheets within a workbook. She would like the sheet to be securely hidden. I found this piece of code: [CODE] Sub HideSheet() Sheets("Sheet2").Visible = xlVeryHidden End Sub [/CODE] and the sheet does disappear. There are two problems: 1) I don't like the Macro warning. Hints that something might be up, and if they disable the macros, then this visibility thing does not work. 2) Anyone can go …

Member Avatar
Member Avatar
+0 forum 1

I'm trying to get started in ASP.NET, but I just don't understand the errors being returned to me. I'm trying to connect to my MySQL database. I have followed several examples from books and the internet with no success. Could someone look at my code and see if I'm screwing something up? [CODE] <%@ Import Namespace="System.Data.OleDB" %> <%@ Import Namespace="System.Data" %> <%@ Page Language="vb" AutoEventWireup="false" Codebehind="default_page.aspx.vb" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <% 'Put user code to initialize the page here Dim dr As System.Data.OleDb.OleDbDataReader Dim cn As System.Data.OleDb.OleDbConnection Dim cmd As System.Data.OleDb.OleDbCommand Dim cs As …

Member Avatar
Member Avatar
+0 forum 2

I have a combo box I want to limit user input I have the following code on 'keypress' event dim keyascii as short = asc(e.keychar) dim s as string if keyascii = 45 then exit sub end if ' allow '-' key s=checkalphanumeric(s,"AN") ' My function to check keyascii 's returns 0-9, a-z, A-Z if true if s="" then exit sub end if e.handled=true end sub I have same code used for text boxes except 'e' is 'eventargs' & it works I can still type anything in my combo box, am I missing something? any help much appreciated

Member Avatar
Member Avatar
+0 forum 2

The End.