Topics
-
- 2 replies
- 2k views
I've two combo boxes listed with same values from the database. If I select a value from the first combo box, that value should not be listed in the second combo box. [u]ComboBox1[/u] [u] ComboBox2[/u] One One Two Two Three Three Four Four Five Five If I select 'Three' from the ComboBox1, the value 'Three' should not be listed in ComboBox2 while making a selection from ComboBox2.
Last reply by BrettW, -
-
- Administrators
- 6 replies
- 7.1k views
Hello all ! I'm using windows media player component in my app. When I try to build a deployment version of my app, I get the following error message: ERROR: 'wmp.dll' should be excluded because its source file 'C:\WINDOWS\system32\wmp.dll' is under Windows System File Protection. By the way, I use windows XP pro SP2 and VB.Net 2003. Please... does anyone know this problem and what can be done to solve it?? Thanks in advanced! Tom.
Last reply by Bggbg, -
-
- 1 reply
- 2.1k views
Hi, I want to create a registry string : HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\WinZip And set the value of "0" to it. So the shortest way is: Dim ExtractKey As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.CurrentUser.CreateSubKey("Software\Nico Mak Computing\WinZip\WinZip") ExtractKey.SetValue("OpnExplFolder", "0") ExtractKey.Close() ? I'm doing it good and is there a shorter way? And .Close is necessary? Thank you very much...
Last reply by LamKat, -
-
- Leaders
- 2 replies
- 2.1k views
The thread labelled: "Howto: loading old mfc code into visual studio express C++ 2010 " was posted in Random thoughts: http://www.xtremedotnettalk.com/showthread.php?t=104863 It previewed fine, but when the thread/post is clicked on I only see the attached screenshot. Is it just me seeing something missing..did I do something wrong? Oh well.. I guess it wasn't that important if it's just gone..
Last reply by dotnetguy37, -
-
- 0 replies
- 11.6k views
Please excuse if this procedure is documented elsewhere on the forum, but I didn't find it after doing some searching.. VisualStudio.Net C++ 2010 Express doesn't come with the MFC (Microsoft Foundation Class) libraries and headers, per the chart on this MSDN Page: http://msdn.microsoft.com/en-us/library/hs24szh9.aspx I had some old VisualStudio.Net C++ Professional 32 bit code I needed to load into the 2010 (using 32bit CLR) and build (that had MFC references). So it's not a 32bit to 64 bit CLR upgrade, just 32 bit to 32 bit. Note: I know even 32 bit CLR stuff involves wow64, per this MSDN entry: http://msdn.microsoft.com/en-us/library/ms241064.aspx Anyw…
Last reply by dotnetguy37, -
-
- Leaders
- 2 replies
- 2k views
Hi, Need to Prepare for interview, any document available for interview and explain the below as possible with example... Different types of caching with example? Difference between delete and truncate with example? What is a store procedure? Stage its advantage with example? Different between unique and primary key with example? What is a cursor with example? What is a linked server with example? Session stage options with example? Web form events with example? Pure polymorphism with example? How a base class method is hidden with example? Method overloading with example? View stage and view stage life span with example?
Last reply by new4net, -
-
- 0 replies
- 1.3k views
All, just want to know if there's a way to check which user(s) has permission on a specific certificate from the (local machine) cert store on windows 2003 & 2008 server. Regards, Kyle
Last reply by microkarl, -
- 0 replies
- 1.4k views
Hi. I have tried to make a small database using arraylist to store the information in text files and doing ok. The only problem i am having is Catagories and Sub-Catagories. Below is the code i am using, it's still a bit messy at the moment with trying out different methods. I would be greatful with help with this code if i am doing it wrong. Below is the main menu. view plaincopy to clipboardprint? Public Class Menu Private Sub Menu_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' Get user name Username = System.Environment.UserName End Sub Private Sub ImportFPI_Click(ByVal sender As System.Obje…
Last reply by Worf, -
- 0 replies
- 1.7k views
Hi. I don't know anything about Databases and i want to create a database to store the contents of text files and other information. What it will hold: Contents of text files. Description of the text files The usage of the text files. Name of the text files. So, i have a text file, the application reads the contents of the text file and stores that information in the database. The user will be able to type the description of what the text file is and also the usage and store this with the text file. There will also be Catagories and Sub-Catagories which the text files will be stored under. Example: Catagory: FPI Sub-Catagory: Enemies. So, if th…
Last reply by Worf, -
-
- Leaders
- 1 reply
- 1.7k views
i can't seem to get it to save the Hex string back to a file. This is the code i using to open the file Dim builder As New StringBuilder Using reader As FileStream = File.OpenRead(Parth) Dim length As Long = reader.Length Do Until reader.Position = length If reader.Position > 0L Then builder.Append(" "c) End If builder.Append(reader.ReadByte().ToString("X2")) Loop End Using RichTextBox1.Text = builder.ToString() But how can i save the Hex in richtexbox1.text Thanks Sutton
Last reply by snarfblam, -
-
-
- Leaders
- 1 reply
- 7.6k views
hi ive an activex made in vb6. Am new to .net and attempting to use it in vb2008. i made a reference to it and added the following code to my form_load Dim mycon As New Axpass.Axiepass TextBox1.Text = mycon.GetIE() but when the form loads it gives the error, i also tried to add it as a control and call the method but it returns "" as the result, though the same method if called from a vb program works fine.. plz help and guide me..
Last reply by snarfblam, -
-
- 0 replies
- 3.3k views
Hi, I need to play multiple wave files using directsound or any other method. My application is similar to this: http://msdn.microsoft.com/en-us/library/ms973091.aspx, where i need to create beats. The problem is that when I play two or more sounds, there will be some delay between both files. The program provided in that link does not have any delays present when more than 1 file is played but I couldn't understand the coding since it is extremely difficult and im just a beginner. Is there a way to remove the delay completely? I am using the following method: var dev = new Device(); dev.SetCooperativeLevel(this, CooperativeLevel.Priority); …
Last reply by Jakpot, -
-
- Leaders
- 2 replies
- 4.7k views
I would like to implement a 3D sphere to play an animated rotating planet for my game but using GDI+ ONLY. Since my math skills are next to zero, I definitely need to see an example. The problem is that I can't find any on the web. Is this too hard to be done with a texture? What about a an opaque wireframe version divided with vertical and horizontal circular lines?
Last reply by EFileTahi-A, -
-
-
- Leaders
- 1 reply
- 2.1k views
Hi, Anyone can help me with converting a regular path like: C:\Program Files\Steinberg\Cubase 6\MP3.jpg to a web relative path like: ../../../Program%20Files/Steinberg/Cubase%206/MP3.jpg To use in HTML files? Thank you.
Last reply by snarfblam, -
-
-
- Leaders
- 3 replies
- 1.5k views
Hello, I need a textbox in a windows form that only accept text that fit inside its space. I don't find any property to do this. Any help? Thank you in advance
Last reply by encami, -
-
- 1 reply
- 3.6k views
Does anyone know how to disable the feature of AutoScroll that causes a control to be automatically scrolled into veiw when it is focused? I declared this in my class, overriding the base class method but the control still scrolls down when the focused control is out of view. void ScrollControlIntoView(Control c) { //did nothing here hoping to fix the problem. } That is my FIRST question. The second is this: I have a feeling, disabling that feature is impossible. So I have created my own scolling panel derived from Panel. Everything works greate except when I resize a control within the panel with the mouse movement. I really get issues then even if I…
Last reply by pcbbc, -
- 0 replies
- 1.2k views
Hello all! It's been a LONG time since I've been on the board, and I've missed you guys! For the last few years, I've been working on a game engine. My brother had a really great idea for a turn-based stragety game, and with some slight encouragement, has fleshed out most of his ideas. I really like the direction he is taking it, and want to turn his idea into an actual game. I've been doing research into game engines and game development packages, but all of them have one of two things wrong: either they are expensive, of don't match what I'm looking for in a language. So after much thought and debate, I've decided to make my own engine and build his game out…
Last reply by W_Garabrandt, -
-
- Leaders
- 1 reply
- 1.7k views
hey. i'm making a very basic contacts type program, and one of the fetures is that when the user closes the form it checks is any information has not been saved. but for some reason once i placed this sub in it now doesn't close at all Private Sub FormClosing() Handles Me.FormClosing Dim IsDiffrent As Boolean = True For Counter As Byte = 0 To COM_Name.Items.Count - 1 If COM_Name.Text = COM_Name.Items.Item(Counter) Then Dim Information(0 To 7) As String Dim TxtReader As New StreamReader(My.Application.Info.DirectoryPath & "\" & COM_Name.Text & ".txt") For InfoCounter As Byte = 0 To 7 …
Last reply by snarfblam, -
-
- 1 reply
- 1.9k views
I have a project with 3 DataGridViews, and I want to save each of these grids to a different sheet within 1 Excel file. Can anyone give me some tips on how to accomplish this? (or possibly point me to some sample code.)
Last reply by emptyB, -
- 0 replies
- 1.3k views
I use following code to send the email. Dim smtpCli As New SmtpClient . . . . smtpCli.EnableSsl = True smtpCli.Send(mailMsg) Now I want to use TLS while sending the email. How to do it in VB.NET
Last reply by foregp,
-
Who's Online 0 Members, 0 Anonymous, 56 Guests (See full list)
- There are no registered users currently online