I have been trying using activeX animations in a VB2005 app. Continually having trouble with the interopt dll. What can one use for animations in .NET? I am trying to use the standard file copy avi.
I have an ActiveX object converted to be functional to WPF (standard procedure: Windows Forms control Library and then embedded into the WPF project using a Windows Forms Host controller). Everything works ok with a simple bug from time to time.I have some things in the Load Event that access the ActiveX controll properties and sometimes I get the error "Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown."I guess this happens because the control didn't load before I'm trying to access the properties. That's why I put my properties on a DispatcherTimer with the interval 2 seconds in order to execute them later but I get the same error.
I build program to launch application(launch application can as local profile or can as network credentials) using Advapi32 "Create Process WithLogonW".but I got the problem, I can't capture message of standard output(Stdout) and Standard Error(stderr).could everyone help me how to capture message and the code?
I am trying to load an actixex component in a VB project which was made in Visual C++.n VBA it works fine.In VB6, when I try to load the component on the toolbox I get an "Error 35005"In VB2008 the component can be added to the toolbox, but when I try to place it on the form, the following error occurs: "Failed to import ActiveX control. Please ensure it is properly registered."
How to Resolve following Error in .netNon-modal forms cannot be displayed in this host application from an ActiveX DLL, ActiveX Control, or Property Page.
I usually use standard button and do the settings like causevalidation etc if required.
i decided to use toolstrip and inserted some buttons but end up that it doesn't do the validation for control and also doesn't call leave event of textbox control.
so my question is, anyway to use regular button functionality for toolstripbutton or there is a way to add regular button on toolstrip.
I have a program that uses IO.File.Copy to copy files from point a to point b. Its slow, which is fine because there rather large files. I was wondering if there is way to get an estimate time to copy a particular file(s).
Example: File a will take 1 hour to copy, File B will take 30 minutes to copy. Estimate Total Time: 1 hour 30 minutes.
I'm trying to make a sort of 2D turn based battle system using GDI+. I'm calling the animation through a Game loop, the animation itself works fine however I have found that both animations play at the same time. I was wondering if anyone could tell me a way around this or a way to fix it?
I'm developing a media player app and upon looking at it for a week now, it seems really bland. I would really like to add some animations for it (besides just moving forms with x,y locations) but have no idea where to start.
Are more complex apps/designs/animations better suited for a language like c#/c++? I've never done animations before (except simple form moving) and I think now would be a great time to get some opinions!
You could probably say this would linger more so on 3d images and 3d animations
So I can display a gif as a still image but it only shows the first frame if you use image.fromfile and I couldn't figure out how to use imageanimation or whatever it is. Do I have to use a timer or is there some class that does it? The same with the video - there is my.computer.audio.play, but no video equivalent, so what do I do?
Where can I find standard (licence free) animations like "Copy" for self implemented windows applications (avi,animated gif)? Visual Studio has only few animations in its image library (unfortunately not the "Copy" animation).
WPF question here, I'm using VB.NET as the code-behind so I figure I might get away with posting it here :P Just in case anyone has any ideas.I've got a StoryBoard that runs on MouseEnter and MouseLeave, basically all it does is scales the control up a bit to make it larger and moves it accross the screen slightly (on MouseEnter) and then on MouseLeave it just sets it back to how it was.
The problem is that the animation lasts for about 1.5 seconds, but if the user just passes their mouse over the control and then half way through the animation they move the mouse off the control then the second StoryBoard kicks in but starts with the control in its final position from the MouseEnter animation. Obviously this results in a "skipping" or "jumping" effect in the animation and is less than ideal.So I'm just wondering how you are supposed to make it so that if an animation is half way through and then another event is triggered so another animation starts then it kind of 'gracefully' hands over to the animation that is starting.
So far i have tried to animate the pictures and it works but could not move with keydown event. I also then tried a different way and managed to move the first picture by using drawimage but could not animate it in frames.
I have created a reference to an activex com component in my project and I am wondering how I now get the program to open the active x form, I have got a GetObject function but the error is "cannot create activex component". Is there a way to call an active x .exe file so that the file opens?
I'm new to Visual Basic with no programming in my background. I've created a application without to many problems until now. I've looked around msdn but could not find any tutorial on how to create a "standard" save file dialog box. What I have found is some instruction with a lot of assumptions made such as I've done this before.
What international organisations exist for agreeing a standard or standards for communications, file formats and so forth?I know for instance you can apply to a company like.>>URL}..to get a barcode.
For more see.>> http://www.google.co.uk/#hl=en&source=hp&q=how+do+you+get+a+barcode&fp=9b029eaa092cce63
i have usied ICSharp.dll for zipping my folder.it sucessfullyzip the folder but when i try to unzip file manually it shows me error "xx.zip this file is not in the standard ZIP format 2.0"
I use GetClickIndex when I receive a Powerpointall_SlideShowOnNext event to move the selected index of a list of animations (built previously from the Timeline object). The first animation returns 1, the second 2 and so on.
This works fine until I manually move animations up or down the Animations Pane list using the PP Animations ribbon and re-start the slide show. Now GetClickIndex returns 1 for each SlideShowOnNext event I receive.
I've developerd an ActiveX Control using VB6. I've also developed its installer .cab package for web. A simple html code is given below that explain how i use that package in html page
<HTML>
<HEAD>
<TITLE>MyAcrivexControl.CAB</TITLE>
[CODE]...
<!-- If any of the controls on this page require licensing, you must create a license package file. Run LPK_TOOL.EXE to create the required LPK file. LPK_TOOL.EXE can be found on the ActiveX SDK, [URL]. If you have the Visual Basic 6.0 CD, it can also be found in the ToolsLPK_TOOL directory.
link that implements DES algorithm with CBC. if I want to use an existing class to implement the standard DES (using ECB) to encrypt file, how do i do? I want to use this class because it implements each step of the algorithm.
how to proceed. One of our customers is going to be sending me a flat file (ASCII-Text) that I have to break down and scan. Every line ends in a CrLf - So I know I can use StreamReader and ReadLine(). I did get it to work on one of the test files they sent.(A very Short file) However, the file is not delimited at all and every field is padded to the full length they specified. Here's the format of the file:
I have a weird behavior when trying to copy a file with System.IO.File.Copy. The file never gets copied. More than that, the call doesn't generate an exeption!
I am using VB.NET, Framework 3.5. I'm trying to copy in C:Temp and I do have the privileges. Or at least I used to...
I am using it in conjunction with SQL2005. I am trying to replicate some simple activex script to create a new excel file that can be used as a data dump from a database.
[code]...
I have changed the file location references to make it easier to read. I have googled all morning but cannot find something that helps me. I think it has something to do with references?
I only started using visual basic earlier this year so I'm still a newbie but I've been wondering some things:
1. When you have a picturebox back color to transparent, objects under it still get hidden. Is there a way around this?
2. I've been trying to make a program where you can control an object, and it has multiple animations, but I can't figure out a way of doing this other than having a bunch of picture boxes together and making them visible/not visible as needed. Is there a better way to do this?
3. (I think) I know how to make global variables (dim whatever as global.system.integer ? I don't have it on the computer I'm posting with), but how do I make another form use them?
4. Is there a way to have multiple sounds play at the same time? Whenever I play a sound it stops whatever else is playing.