Topics
-
-
- Administrators
- 1 reply
- 4k views
does anyone know how to BMP/JPG to AVI?
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 2 replies
- 2.3k views
I need a way to extract an 8-bit icon from a file, specifically an exe. I've tried using ExtractAssociatedIcon, but that only extracts 32-bit icons, and I have not found a way to convert it to 8-bit. Thanks! grantman16
Last reply by grantman16, -
-
-
- Administrators
- Leaders
- 5 replies
- 1.6k views
I'm getting crazy here, as always :/ I drag-n-drop a file to a form, and and it starts a delegated process (delegate to not lock the application while the app is processing the file), on the form i also have a progress bar, that i want to control from a underlying class. I have this "chain"(?): Form1 (drag-n-drop / here the progress bar is located) -> delegate to class -> calls another class, that is processing the file, from here i want to be able to modify the progress bar value. any ideas?
Last reply by gardet, -
-
- 0 replies
- 2.3k views
Re: Renaming your start button Does anyone still have contact with ThePentiumGuy? His email adres doesn't seem to exist anymore. Kind regards Split from Renaming your start button
Last reply by mutsop, -
-
- Administrators
- 2 replies
- 5k views
Hello, I'm hosting WCF services in Asp.net web page in (ASP.NET Compatibility Mode: AspNetCompatibilityRequirementsMode.Allowed). I've written simple HttpModule: public class ExceptionInterceptor : IHttpModule { public ExceptionInterceptor() { } public void Dispose() { } public void Init(HttpApplication context) { context.Error += new EventHandler(context_Error); } void context_Error(object sender, EventArgs e) { // do something } } web.config: <httpModules> <add name="ExceptionInterceptor" type="HttpModules.ExceptionInterceptor, HttpModules"/> </httpModules> My question is, why…
Last reply by vycma, -
-
-
- Leaders
- 3 replies
- 1.5k views
Hello, I've written below sample in which I'm creating a deadlock: using System; using System.Threading; using System.Transactions; namespace SampleDeadlock { class Program { private static object lockerA = new object(); private static object lockerB = new object(); static void Main(string[] args) { Thread transaction1 = new Thread(new ThreadStart(Transaction1)); Thread transaction2 = new Thread(new ThreadStart(Transaction2)); transaction1.Start(); transaction2.Start(); transaction1.Join(); transaction2.Join(); Console.WriteLine("done"); Console.ReadKey(); } private static void Transaction1() { try { using (TransactionScope scope = new TransactionScope(Transacti…
Last reply by vycma, -
-
- 0 replies
- 2.8k views
I am using xml validation of a file with schema. I cannot catch mismatch between open and close tags. Here is the c# code: XmlSchema xmlSchema = XmlSchema.Read(new XmlTextReader("XMLSchema1.xsd"), new ValidationEventHandler(booksSettingsValidationEventHandler)); XmlReaderSettings xmlReaderSettings = new XmlReaderSettings(); xmlReaderSettings.ValidationType = ValidationType.Schema; xmlReaderSettings.Schemas.Add(xmlSchema); xmlReaderSettings.ValidationEventHandler += new ValidationEventHandler(booksSettingsValidationEventHandler); using (XmlReader xmlReader = XmlReader.Create(new XmlTextReader("XMLFile1.x…
Last reply by vihrao, -
-
- Administrators
- 2 replies
- 2k views
Hi, In a Web Application I have a rdlc file which contains the report output for a form which is wider than it is long. The report shows correctly in the browser and in the pdf viewer/download but once the user goes to print it it prints in landscape. I have played around with it an it appears that it is due to the page width being more than the page height. In the printer dialog it shows landscape (the printer is set to portrait by default). Does anyone know of a solution to this issue? Best regards, O
Last reply by olan, -
-
-
- Administrators
- Leaders
- 4 replies
- 3.4k views
Hello, I now became a member of this community here and I would like to be a member of it. Just love the environment here. Good job by the mods and each member here. I like the quality of posts posted by everyone and plan I can do that for you all too. Hope to visit here often.
Last reply by PlausiblyDamp, -
-
-
- Leaders
- 5 replies
- 2.1k views
Here's what I have and what I want to do: On a form, I have a listview, a context menu (cmSouth) and a series of textboxes in a groupbox. The context menu is linked to the listview. What I want to happen is, when i right-click on an item in the listview, I want to move that item to the next empty textbox in the groupbox named after the contextmenu item that is clicked. Here is the code I've been playing with: Private Sub TextboxList() Dim i As Integer = 0 Dim ctrl As Control For Each ctrl In Me.Controls If TypeOf ctrl Is TextBox Then dragbox = DirectCast(ctrl, TextBox) If dragbox.Name = "Textbox" &…
Last reply by rickb, -
-
-
- Administrators
- Leaders
- 2 replies
- 1.6k views
I have a custom textbox class that is set public scope. I created it because I needed to override the WndProc sub to handle paste messages sent from this control. The problem I'm having is that when the form is compiled, I get no error messages but the textbox doesn't show on the form. I've posted my code below, and would appreciate any observations on what I missed. I'm sure it's something simple... Public Class optyTextBox Inherits System.Windows.Forms.TextBox Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message) Const WM_PASTE As Int32 = &H302 Select Case m.Msg Case WM_PASTE ' The clipbo…
Last reply by PlausiblyDamp, -
-
- 2 replies
- 4.7k views
My team supports Siebel 7.8 where the client is basically activex controls embedded in a web page in several layers of frames. I want to know if it is possible to retrieve values from specific fields within one of those controls? I have used spy to find the classname of the control in question but from there, I'm at a loss for how use that info to retrieve the values. Screen Scraping using httpwebrequest doesn't get the data I'm looking for. Is it possible to use findwindow api's to pull the data?
Last reply by caeanis, -
-
- Leaders
- 4 replies
- 9.3k views
I have to do some basic data entry in a web app I don't have administrative access to. I am pulling the data to be entered from my own vb form app. What I'd like to do is monitor the paste event (if there is such) of the clipboard to automatically load the next piece of data into the clipboard so that I can right click and paste with out having go back to my form each time. Is this possible? I've seen a view examples in C# on how to monitor the clipboard change event, but am not familiar with C#. Thanks in advance.
Last reply by caeanis, -
-
-
- Leaders
- 4 replies
- 3.9k views
Well, what do you know, all my progress bars ceased to function on windows 7, at least the right way. They no longer reach 100%, and sometimes they skip animation. It does not matter if the Application.DoEvents() and the progreBar.Refresh() are there, they will not refresh in time. It seems more people are suffereing from this issue, but I did not managed (yet) to walkaround this problem in a simple way instead doing the graphical progress through a second thread, which is totally unnecessary. Any ideias on this? Thanks
Last reply by EFileTahi-A, -
-
- 6 replies
- 9k views
Bitmap b=new Bitmap((Image)Ims[0]); IEnumerator E= (b).FrameDimensionsList.GetEnumerator(); E.MoveNext(); b= (Bitmap)E.Current; Invalid cast exception. I must be doing this wrong. I have look all over the net form information on how to do this but could find nothing.
Last reply by SilverX, -
-
- Administrators
- Leaders
- 5 replies
- 2.4k views
Hi all. I'm trying to find text in richtextbox like so: RichTextBox1.Find("Hello") Which works but it doesn't find the next occurrence of 'Hello'. (Find Next) Can anyone help me?
Last reply by BrettW, -
-
- 0 replies
- 1.3k views
Hello, I would like to have a custom button, near minimize and maximize buttons in the Caption Bar and be able to write code behinde for that button, just like some applications do, like GetRight or TeamViewer. See the picture. Thank you
Last reply by PROKA, -
-
- Administrators
- Leaders
- 14 replies
- 2.5k views
I have a SDK kit that I have all the documentation for, great! Now the DLL is a unsigned DLL and I can't load it into a .net project. I have used DLLImport to setup the functions I need to use. I am not sure they are right but I am trying to figure them out one by one. All the examples are C++ which I know nothing about. Looking at the examples I can kind of see what is going on. I have the API .lib file and the header files. Is there a way to load these into a .net project and make my own DLL to use in .net? Currently I am stuck with a "Attempted to read or write protected memory." error. All the types are set the same but I still get the error. I have contacted…
Last reply by ZeroEffect, -
-
- 0 replies
- 821 views
Hey guys i want to make my self a trainers program so im stock at making a form with a drop down list of the images with description and that i can grab that picture and insert it on a grid for workouts.. i have a list box set up but nothing is working?blank.. Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged Dim Allfiles As String() = IO.Directory.GetFiles("C:\Users\TECHKER\Desktop\PROGRAMMING\PROJECTS\trainersTool\trainersTool\Images") Dim strfile As String For Each strfile In Allfiles Dim filename As New IO.FileInfo(strfile) '/// this will g…
Last reply by techker, -
-
- Administrators
- 3 replies
- 3.2k views
Hi There, I have a timing decoder that is connected to my computer via network cable. I want to be able to receive the data from the decoder. It sends a signal every 5 seconds, or when ever a transponder passes and triggers it, it sends the data related to that transponder. The decoder has a fixed IP address.
Last reply by Pinion King, -
-
Who's Online 0 Members, 0 Anonymous, 9 Guests (See full list)
- There are no registered users currently online