-
- Windows login from via Active Directory
by Rudemusik
- 5 Replies
- Last post
by Martin Xie - MSFT
- Hello all!
Is it possible to login directly to the active directory, not a database. I saw a windows authentication on the project properties, i'm just not sure how to get the user and password from AD.
Thanks!
Rudy
-
- My CalendarColumn does not get current value in DaGridView cell in Edit Mode.
by pvphuc
- 5 Replies
- Last post
by Bruno Yu - MSFT
- Hello everybody, I got CalendarColumn from MSDN online for my DataGridView using but I am facing a problem is when EditMode this control does not get the current Date in cell to display, it always get current DateTime value. I do not know what happen. Please help me to solve this problem. It is urgent. Thanks so much. This is the code of this Class. Imports System Imports System.Windows.Forms Publ
-
- TXT File to MS Access
by ElDorado.
- 14 Replies
- Last post
by PEng1
- We have a manufacturing machine that spits out txt files every so often and we want to read the files and upload them MS Access. Below is a sample of the txt file:
[Job] Line=041 Machine=F/M #59 K155 Description=786201 PP0.5ml 0003-2 PartNumber=0003-2 NominalCycle=68.00 JobStartDate=2/22/2007 11:08:52 AM StartDate=2/27/2007 11:00:00 PM StopDate=2/28/2007 1:01:52 AM Cycles=108 Ru
-
- How to sucessfully inherit from DataSet, DataTable and DataRow
by BenCh1
- 14 Replies
- Last post
by thctase
- Because Visual Studio .NET has almost exclusively been used as the source of strongly typed DataSets, there is hardly any information available on the correct way to derive your own classes from the DataSet, DataTable and DataRow objects.
I've been studying the strongly typed DataSet classes generated automatically by VS.NET to try and get an understanding of how they work, because I do not
-
- Is there a cleaner way to perform the following...
by Nathan Sheppard
- 3 Replies
- Last post
by PEng1
- Hi All, I am very sorry if this sounds quite dirty, however I am unable to find another way to acheive the results I am after, so I have come here for help. The below code works for what I need it to do, however I would very much like to have a 'cleaner' and more correct way of doing this.
I am attempting to create a custom datatable which will only ever include 1 row and pass this into a C
-
- Issue- .Net-Vb6.0 activeX
by John487
- 2 Replies
- Last post
by John487
- HI, In my .Net application i am using a vb6 ocx control. The vb6 control internally refers one public method from my .net application. My problem is while the vb6 activex control trying to refer this variable then getting an exception "Object does not support this property or method". I have replaced the .net public method to readonly property, after that it is working fine. Can anyone t
-
- Help with visual basic trivia game
by Maimed
- 3 Replies
- Last post
by Spidermans_DarkSide - MSP, VSI
- hello, I am doing an educational trivia game for a school project and it is due in 3 weeks. Now the poblem is it will just not work. The coding and logic all looks right but when the program starts i get no errors but the first question that should be displayed does not show up and things like the close command button i have placed in do not show up. It is really getting to me as i have looked thr
-
- Extract audio from video
by Sriram S
- 4 Replies
- Last post
by JohnWein
- I have a problem in extracting audio from video files.
Is there any way in which the audio could be extracted from video files such as .dat using Visual Basic 2005
Please give me some solution.
-
- How do I track mouse movement by virtue of its position on the SCREEN?
by dare0021
- 8 Replies
- Last post
by dare0021
- I tried the usual mouse events that some with VB, but that gave me the mouse's position by virtue of its position on the FORM, not the SCREEN.
Is there any way to get the mouse's position on the screen, not form
-
- How to include F5 function inside the programme
by briendjf
- 0 Replies
- Last post
by briendjf
- Hello,
Thanks to MSDN support, I have a running programe...!
Is it possible to include inside the programe , the F5 function in such a way I access the programme directly from the Desktop
-
- stream reader/writer woes :O(
by Ron Carlson
- 12 Replies
- Last post
by Spidermans_DarkSide - VSIP
- I'm confused with this streamreader/writer. For all the examples I have seen or read about first have to declare like so:
Dim mystreamwriter As New StreamWriter( "C:\test.txt" , True )
Dim mystreamreader As New StreamReader( "C:\test.txt" , True ) <----- Do I have to create this file first, i'm getting "could not find file" or "file acc
-
- Assigning a currency value to a radio button
by Matt5646
- 3 Replies
- Last post
by Matt5646
- Hello,
I'm very new to programming and I am starting to grasp the concept.
But I can't figure something out, how to assign a property to an object once that object is activated.
For example assigning a currency value to a radio button once that radio button is CheckedChanged
VisualStudio 2005
VisualBasic
-
- MDI support in Interop Forms Toolkit
by Yury
- 1 Replies
- Last post
by Toddap_MS
- It is not clear - how to set a C# form as MDI child in VB6 application
-
- Help! Tabbing through controls not working.
by rmiller
- 4 Replies
- Last post
by rmiller
- I've got a vb6 dll i reference in my .net app which contains forms that i need to load now and again. The problem i origianlly had was that i couldn't show these forms the old way (aForm.Show). I kept getting an error stating that modeless forms could not be loaded. Using "aForm.Show vbModal" gets rid of the error, but then doesn't allow the user to get back to the main application till
-
- Get Current Selection in Multi-Select listbox
by Jason Smith
- 4 Replies
- Last post
by Jason Smith
- Okay this should be pretty simple but I can't seem to find the answer. I have a listbox with the selection mode set to "Multi-Simple". How do I get the last selected item. I have tried selecteditem, selectedindex, selectedindeces and so forth. But all of these return the first item selected in the list. I want the selected index of the last selected item. Is this possible Any help would
-
- Raising events from .NET UserControl inside a VB6 MDI form(Interop Forms Toolkit)
by DavidCeder
- 8 Replies
- Last post
by Adam Christopher The 2nd
- I have used the Interop Forms Toolkit example: http://blogs.msdn.com/vbteam/archive/2006/11/02/interop-roadmap-usercontrols-mdi-and-data.aspx , and am using the example InteropUserControl.
I want to raise an event from my .NET UserControl which is hosted inside a VB6 VBControlExtender type:
Private WithEvents moDynamic As VBControlExtender
Set moDynamic = Controls.Add("InteropUser
-
- map string value to a variable name dynamically?
by Denise Flynn
- 3 Replies
- Last post
by Dick Donny
- Hi,
I'll use a really simple example to describe what I want to do. Say I have a Class Person, with members being Name, Height, Age, Sex. I want to be able to call a function say person.NextValue, and it will return the value of one of the member variables. So if it is called the first time, it will return the value assigned to Name. The second time the value assigned to Height and etc... Any i
-
- New to VB
by User 123456
- 3 Replies
- Last post
by spotty
- I am new to VB could someone teach me a little about it. I would really appreaciate it thanks.
-
- Ipod Programming
by DogAss80
- 14 Replies
- Last post
by C.K.McCann
- I just got myself an IPod for x-mas, and was not happy with the the software bundle included (ITunes). So I started browsing the web for 3'rd party software which could transfer music from IPod->Computer and Computer->IPod. But I found all of those programs missing something I needed and wanted to make an application myself. The only thing I need help with is code to transfer a song to ipod
-
- Could I fill diffrent rows into a datatable by dataadapter multiple times?
by ivanchain
- 2 Replies
- Last post
by ivanchain
- Hi, friends, Please look at this:
I have a basic question about the dataadapter and datatable:
1) Have a dataadapter and a datatable
2) I fill data into the datatable by dataadapter like this: DimNodeSelectCommand.CommandText = "select * from TESTTable where SID=1" daAdapter.MissingSchemaAction = MissingSchemaAction.AddWithKey daAdapter.Fill(dsDimNode, "DimNode"
-
- Login via Access Database help
by AnonymousI
- 14 Replies
- Last post
by pedro_pr
- Hi,
I recently got VB 2005 and really like the new features. However, I am on an intermediate level learning Visual Basic. For a test project, I plan to create a login form that validates users through an access database located on a server. Basically, there is a set username and password in the access database and I want my program to execute the main program once the user is validated via the
-
- Return Lowest Value
by obrienkev
- 11 Replies
- Last post
by Riquel Dong ¨C MSFT
- Hi,
I have 4 variables with datatype of double.
I want to return the lowest value of them.
However, any of the variables may at one time be null.
What is the best way to do this
Code Block
Dim item1 As double
Dim item2 As double
Dim item3 As double
Dim item4 As double
Dim LowestValue1 As double
Dim LowestValue2 As double
Dim LowestValue3
-
- Can't kill Excel.Exe after using Excel component in vb.net
by Sam rezaii
- 14 Replies
- Last post
by Ganesh_shiv
- Hi ,
I'm using Excel.Application generating excel report via vb.net 2003 , the problem is excel.exe process reminds even after generated excel report closed . I have been using the followed code to close or dispose the process , but it does'nt work either.
thenks
Dim procList() As Process = Process.GetProcesses()
Dim k As Integer
For k = 0 To procList.GetUppe
-
- How to set the week in a MonthCalendar Control
by RogerVaDeJocs
- 2 Replies
- Last post
by RogerVaDeJocs
- Hi,
I'm using a MonthCalendar control to select a date.
I've set the property SHOWEEKNUMBERS of the MonthCalendar to TRUE.
Now I would like to set the date in the MonthCalendar using the WeekNumber, but I think that MonthClalendar control has no porperty or method to set that.
any Idea of how to solve this problem
-
- check if a file exists
by YellOwCN
- 3 Replies
- Last post
by spotty
- hi everybody,
I want to check in my macro, if a file exist in a path, but I don't like to open it, because the time can be long to open a big file, so I try to avoid that:
on error goto fileNotExisted
fileopen := path & filename
on error goto 0
Do u have an idea to check it without open file
thx before
godd day!