Topics
-
-
- Administrators
- Leaders
- 3 replies
- 1.9k views
Is there any way to specify the event when the combobox is droped down and items are hightlighted as they move through the selection? I want to display a picture box in which the image changes and each item is highlighted. Is this possible? Most of the code I've looked at has to do with after a specific item is selected. Is there any way to use that change in the combobox to trigger the action I discribed? Much thanks!
Last reply by PlausiblyDamp, -
-
-
- *Experts*
- 6 replies
- 2.6k views
Hi Guys, It's been a while since I've been in here, but I've noticed a small bug with the odd banner at the top of the screen. One of the (I think it was Solarus) obscures the search drop-down. I don't know if this happens with them all, it only seems to be the Flash apps. I use XP Pro SP2 build 2600 with IE 6.0.2900.2180 (SP2) if that's any help. Regards, Paul.
Last reply by SoftWareRevue, -
-
-
- Administrators
- Leaders
- 4 replies
- 745 views
I have 2 quick questions about interface implementation. 1. Is there a way to require someone to implement a certain interface if they inherit from my base class? 2. I have a function that the user passes a class to as a parameter. Is there a way to make sure that that the passed class implements a certain class similar to what you can do with generic functions? Thanks!
Last reply by snarfblam, -
-
-
- Administrators
- Leaders
- 4 replies
- 819 views
In FormClosing event of my 1st form, I show the 2nd form like this: Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing Dim F As New Form2 F.ShowDialog() End Sub But the problem is that Form1 waits for Form2 to be closed and then it closes! How should I let's Form1 to completely unload and then load the Form2? Thanks :)
Last reply by dynamic_sysop, -
-
- 1 reply
- 1.2k views
Hi Fellers, I'm wondering if you know of an easy way to absorb a mouseclick anywhere on your screen. Like when you use a screen-capture program you can usually drag the mouse and make an area on your screen to capture. Well, when it does this, it must absorb/stop the mouse click you did. Please offer up some strategies if you know of any. I'm pretty much making the same kind of thing as the screen-capture would do, I want to designate an area by using a mouse drag. detecting the mouse clicks is not the issue, absorbing them so that they don't interfere with progs is. Also, I want to make an outline box of the area that is being made. I'm guilty of not researchi…
Last reply by NeuralJack, -
-
- *Gurus*
- *Experts*
- 3 replies
- 1.6k views
How can I set the image property of a picturebox to the image at a uri?
Last reply by caeanis, -
-
- 0 replies
- 812 views
Here is what I am looking to do. I automaticly download some mp3 podcasts but there is some junk/silence in the beginning. I am looking for a way to trim the front of the audio file and re-save it. it the simplest form I want to remove x number of seconds from the beginingthen resave the file. I know there is a program out there called mptrim but it is not automatic. I am thinking of opening the file into an arry then removing x number of bytes from the array and resaving the array or is there a better way? Thanks for your thoughts on this. ZeroEffect
Last reply by ZeroEffect, -
- 0 replies
- 985 views
I am running Windows Vista 64bit - VS2005 - SQL2005 In my app my connection string is Driver=SQL Server;Server=ComputerName\SQLExpress;Database=Mydb everything works great when I run it in Visual Studio, yet if I run it from IE as localhost My connection string gave all kinds of errors. I looked around and found alot of info and came down to this: "Provider=SQLOLEDB;User ID=ComputerName\Username;Password=SQLPassword;Initial Catalog=Mydb;Data Source=ComputerName\SQLExpress;" Now I am getting login failure. Invalid credentials. I am not using any password for this db or SQL at all for that matter. I have set the login type to SQL Server and Windows Authe…
Last reply by nate, -
- 0 replies
- 875 views
Is there a method to run two seperate application ppols on Windows XP. I need to accessan 1.1 and 2.0 .Net Web Application simultaneosly Any help would be greatly appreciated
Last reply by kcwallace, -
- 0 replies
- 563 views
So at the assembly level to notify callers immediately if you need to have access to certain permission sets you have three flags you can use: RequestMinimum, RequestOptional, and RequestRefuse. So say your assembly is a signed assembly in the GAC (or maybe it's just strongly named) with AllowedPartiallTrustedCallers. Part of what your assembly does internally requires reflection. If you put [[assembly: ReflectionPermission(SecurityAction.RequestMinimum, Unrestricted=true)] in your assembly, this means calling assemblies will have to have that permission right? So what if from the sys-admin view, you give this GAC'd assembly full-trust, but you give this unassigne…
Last reply by bri189a, -
-
- Administrators
- 3 replies
- 2.9k views
I'm trying to ensure that the calling assembly has reflection permissions prior to the user getting deep into the program and calling a method that requires it only to find they don't have it and losing they're work. I should be using code access security to do this, this is similiar to the example from MSDN on why to use CAS: The problem is that at the assembly level the only thing I seem to be able to check in the SecurityAttribute: [[assembly: SecurityPermission(SecurityAction.RequestMinimum)] But reading the rest of MSDN example your left with the impression that you can, and should, use any requests for permissions you need at the assembly level to rais…
Last reply by bri189a, -
-
- 0 replies
- 690 views
I'm back using VS .Net 2002. :( Okay so I'm trying to connect to SQL Server 2000. It's a simple deal. Piece of cake. No sweat. But ... Why is it that everytime I disconnect from my network, my connection to SQL Server always failed? This has given me some hard time. Any hints? Thx.
Last reply by amir100, -
-
- Leaders
- 3 replies
- 1.2k views
I want help on the problems below; 1. While selecting a portion in Photoshop, and pressing the DEL key is not deleting the selected part. I have to press SHIFT + DEL key for this. 2. While I try to edit images, the colors are shown only in grey. This does not occur all times, but occasionally this happens, and after I close that window and open another, the problem solves. Can anyone help me with these problems?
Last reply by snarfblam, -
-
-
- Administrators
- 2 replies
- 653 views
I have an application that connects to a local SQL server (2005) for all of it's data access. Now, when the completed application is installed on a new computer the SQL database needs to be installed too - the DB layout at least - all data to be blank but I need all of the tables & stored procs etc to be installed. Now would a full version of SQL server need to be installed on each machine for this, or is there an easier way to redistribute a database shell like this? I remember installing something a year or so ago that auto-installed a 'mini sql server' with it. Any ideas? Thanks in advance
Last reply by CryoEnix, -
-
- 0 replies
- 674 views
Is there a simple way to pull a small image from a website as an object in an arraylist for use with a picture box? I tried using System.Io.Path but that does take URIs.
Last reply by caeanis, -
- 1 reply
- 967 views
Hi all I have two sites, both are related in that one provides administration functions for the second site. One of the developers that I work with says that it should be possible to share the same SSL certificate between both sites, but that he hasn't tried it ever. Has anyone tried this before, or can it even be done? I have tried to set it up but no look. In IIS, I have my default web site, and a new web site linked to http://www.xxx.com, inside the site I have a folder (virtual directory) for my admin program. I have an ssl certificate for the web site and it is operating correctly. Mike55.
Last reply by mike55, -
-
- Administrators
- 3 replies
- 1.5k views
I need some high accuracy Wait/Sleep/Pauses for an application i'm writing. Currently, I am using an AutoResetEvent in wait mode to pull this off so that I can break the Wait w/out aborting a thread. I can't seem to pull off a Pause with a higher accuracy than 10ms. This is the case even when I use thread.sleep to do the pause. So, currently, using either of those methods if i set the wait time anywhere between 0-10ms , it will be a wait time of EITHER 0 OR 10 ms. The pauses have a resolution of 10ms. If the wait is set to 15ms, it will either wait 10 or 20ms. I have tried using the 'timeBeginPeriod' and 'timeEndPeriod' API's to increase the Pause resolution, b…
Last reply by NeuralJack, -
-
- 1 reply
- 584 views
Hi, First off thanks for your time. I have a class that is derived from a control. I am trying to handle mouse events. I am able to handle most mouse events just fine except for MouseDown. My code is fairly simple: //constructor for the class public MyControlClass() { this.MouseDown+=new MouseButtonEventHandler(MyControlClass_MouseDown); } public void MyControlClass_MouseDown(object sender, MouseEventArgs e) { MouseDownPt = e.GetPosition(this); MessageBox.Show(MouseDownPt.X + " " + MouseDownPt.Y); } I put in breakpoints inside mousedown...never being hit. Any sugges…
Last reply by MrPaul, -
- 2 replies
- 765 views
I have an application that has to run a test on a piece off eqipment based on 12 time intervals stored in a database. I have the app working but it seems like there must be a better way to do it. Below is a simplified version of what I have now. I would like to have one event handler handle all the timers but the problem is I need to know which timer called the event so I can updated the correct row in the database. Any suggestion would be appreciated. Public Class frmMain Dim con As New SqlConnection(My.Settings.conString) Dim WithEvents timer1 As New System.Timers.Timer Dim WithEvents timer2 As New System.Timers.Timer Private Sub Form1_Load(ByVal…
Last reply by CJLeit, -
- 6 replies
- 1.3k views
I am creating a new (freeware) scripting language and I would like to get some feedback on what features are wanted by scripting/programming communities. I'm trying to combine nice features from various languages and incorporate them in my own. It's called SteelScript (codename for now), I have some code examples here so you can get a better idea of it's current features: http://steelsoft.net/steelscript.txt. Here's a current list: - C based syntax - Functions can be used as objects - Embedded functions - COM automation - Associative arrays - Callbacks - XML integration - Try/catch error handling - Eval (like javascript eval) functionality I would like to …
Last reply by Wessel,
-
Who's Online 0 Members, 0 Anonymous, 50 Guests (See full list)
- There are no registered users currently online