Route The Events Of IMAPI2 Burning Progress?
Apr 8, 2011
I'm trying to understand how to route the events of my IMAPI2 burning progress but not sure how to do it. I've coded event handling before, but just not familiar with the IMAPI2 library so having some trouble.
This is their sample code in c#:
[Code]...
View 3 Replies
ADVERTISEMENT
Sep 23, 2010
I start making program that will burn CD/DVDs, and everything is okay. I found way to burn with IMAPI2 API, but now I have problem: I can't get progress bar of that burning.
Here is code:
[Code]...
View 1 Replies
Mar 22, 2012
I am trying to use a single RouteURL to route to different pages dependent on the Route name but when I click on a button within my aspx page the page gets routed back to itself:Here is what I have in my Global.asax
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs on application startup
RegisterRoutes(RouteTable.Routes)[code].....
View 1 Replies
Aug 29, 2011
i want to write a small app which enables the user to burn some files on cd/dvd. Something like:
- Make an export from related DB Tables with informations
- Collect customers informations
- zip everything
-burn on cd (its a settlement related tool)
View 4 Replies
Sep 13, 2009
Where can I get some good advice on using the IMAPI2.dll. Pickens are very slim and limited in VB 2008 Pro, and if there is an abundance, I just haven't came across it yet. I will follow-up on all links. My OS is Vista, and everything is up to date, except me.
View 4 Replies
Jun 19, 2012
I am trying to cretae a cd dvd burning application in vb .net, I found some tutorials but they where only for burning iso files, I want a tutorial or code on how to burn files in vb .net using imapi.
View 1 Replies
Feb 13, 2010
I am using Windows Media Player library (WMPLib.dll) in my application. I wanted to make CD Burning wizard, because WMPLib.dll has ability to burn audio/data CD's. I declared an object which can erase or burn CD:
Dim CDBurner As WMPLib.IWMPCdromBurn
Dim WMP As New WMPLib.WindowsMediaPlayer()
[CODE]...
I get exception with message "Attempted to read or write protected memory.". I have an option "Full Trust Application" enabled in Visual Sudio. Is there anything I can do about this error?
View 1 Replies
Dec 3, 2010
I have to burn the program I made but I'm afraid about the directories I include in the program.
PictureBox1.Image = Image.FromFile("C:\Documents and Settings\Marvin\My Documents\Visual Studio 2010\Images\Edsger Wybe Dijkstra.jpg")
If I burn it to a Disc, the image will not show up.Even I put them in one folder, It will not work still.How am I suppose to burn it on a disc without having any problem?
View 4 Replies
Jul 9, 2010
There's a number of postings about IMAPI in .NET, including these:
[URL]
But I can't say they're straightforward. First link looks good, though its C# WinForms realization doesn't allow simple re-using in VB.NET project without conversion.I only need to burn a list of files to a CD/DVD and that's it. Any thoughts? Freeware/open-source is preferred.
View 1 Replies
May 31, 2012
I want to create a cd/dvd burning application
View 1 Replies
Nov 22, 2010
I have been looking all over trying to find a sample to guide me through burning a basic audio or data cd using the windows media player sdk. I have been using the library at msdn as a guide so far but I am stuck at where they tell me to:
"Before you begin burning a CD, you must first call QueryInterface through an IWMPCdrom pointer to retrieve a pointer to the IWMPCdromBurn interface. By using the isAvailable method, you can determine whether a particular CD drive can burn CDs, whether there is a CD in the drive, and how the CD can be used."
I do not see any queryinterface iniwmpcdrom properties and vb.net doesn't support pointers.. so not sure what to do Does anyone have any samples?
View 3 Replies
Jul 3, 2009
Im a computer technician and deal with arounf 35 pcs a day that are all diff and all of them have a ID numbet that is unique. I want to keep track of the repairs on each of the ID's so i can search a ID and input different repairs each time that pc comes in. Im not sure what kind of DB would be suitable or how to do that. Im not asking for someone to do it for me but if you could give advice or examples that would help alot. I imagine a list of IDs and when i click one it brings up a history of the repairs done and i can create another one if needed.
View 3 Replies
Jul 31, 2009
In the program that im working on for a friend, are a lot of addresses (ex: 123 henry blv, City, State, Zip, county)
This is all in database, but he want to be able, to select a few of them, for ex all the ones in one county, and than the program need to put them in order fot the shortest route btween them.
All i need is the list at the and, right now he does this in a routeplanner program, but take about two hours for 15 to 20 adresses,
Programes used: visual studio 2008 sql 05 express
View 3 Replies
Apr 23, 2012
i want to get location of all black pixel inside the picturebox like the picture2,3 and 4 belownd here's my code
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles b1.Click
[code]......
View 2 Replies
Aug 12, 2010
The current project I'm working on requires me to automate some VB.NET code to run every 24 hours. Currently I have everything tied to a local webpage and I've just been calling it all from a button click in a browser.
My question is....what is the best way for me to start getting this to run on a schedule time frame? I've been looking into triggers, but if I'm not mistaken those are supposed to execute when an event is taken on the actual database. No action is taking place, I just need the code to execute. I've executed SQL statements with VBScript and task manager, but I've never had to work with VB.NET and SQL Server (using 2008) in this manner.
View 2 Replies
Apr 13, 2011
I am implementing IMAPI2 into my vb.net project but ran into a wall. I am getting the message Unable to cast object of type 'IMAPI2FS.FsiStreamClass' to type 'IMAPI2.IStream' when trying to start the burn. I googled around and found this is something that microsoft hasn't fixed.. which basically renders IMAPI2 useless in vb.net.
I found a post on codeproject.com by eric hadden who combined the IMAPI2.dll and IMAPI2fs.dll into an c# interop file. I also see the IBURN interop in microsoft SDK samples. I'd like to use either, but it's in c# and I'm using vb express. Does anyone know a way to get the interop into visual basic or a way around "Unable to cast object of type 'IMAPI2FS.FsiStreamClass' to type 'IMAPI2.IStream'"?
View 1 Replies
Dec 17, 2011
I am converting an existing classic ASP website to (VB) MVC and I don't want any of the existing URLs to break. I have read many posts (like this one: Routing Classic ASP Requests To .NET - SEO Redirects) about how to do the proper 301 redirect. With the latest MVC release, I've gathered that
Response.RedirectPermanent(objRedirect.new_url, True)is all that is needed.
I have entered all of my old URLs in a database table with a corresponding column of the new URL. I have added code in my custom 404 page to get the original URL:
Dim strURL As String = Request.RawUrl.Substring(Request.RawUrl.IndexOf("aspxerrorpath=") + 15).ToLower()
so I can look it up in the database. (Interesting sidenote, MSDN's documentation here - Redirect Mode - seems to say that if I set RedirectMode=ResponseRewrite in the CustomErrors section of my web.config, I won't have to worry about doing the above, but when I've tried that, I get IIS errors saying it won't serve an ASP page?The problem I am encountering is that any of my old, Classic ASP URLs that have the same directory as a new MVC route are somehow being partially routed. For example, "/test/default.asp" shows up as "/test/test" in the above strURL variable of my error page.
[Code]...
View 2 Replies
Nov 10, 2011
I just have a short question about adding an destination methode as variable argument into my calling methode.
I want to send a "TextChanged" event to a special textbox. But I want to have a "variable" in my methode to add the handler to the textbox. Because it is possible to change the textbox and then I can change the handler where the "Changed Events" should be routed to.
can you replace the questionmarks below??
Dim TextBox1 as TextBox
Dim TextBox2 as TextBox
Private Sub DoIt
[Code].....
View 1 Replies
Dec 15, 2011
Given that I have a file in path: C:ApplicationsGeneral UtilsAssembly1Assembly1BinDebugAssembly1.dll
and I am working in the following path:C:ApplicationsUnder DevelopmentApp1App1
is there some easy way to find the dotted path route from the application to the assembly:
General UtilsAssembly1Assembly1BinDebugAssembly1.dll
View 1 Replies
Dec 9, 2009
im looking to do a trace route to an ip (specified in a text box) and have the results displayed in a textbox. I know that this has been brought up in the forums before but im yet to find a version thats compatible with vb 2008 express edition. The vb.netmvps example is exactly the functionality im looking for but it throws up 80 +errors(*** is no longer supported etc)[URL]the host resolution isnt an issue becasue i already have the list of ip's and corresponding host names that i would be tracing in a db.
does anyone have a tracert app that is compatible with this version of vb or indeed know where i could find one ?
View 2 Replies
Mar 15, 2009
I am trying to code to capture the packet loss on computers, but the only way I've been able to do so was to run the NetStat.exe and the TraceRt.exe processes and capture them to a listbox (using the code below):
[Code]...
View 1 Replies
Jun 1, 2009
This is an extension of this post: [URL]
The reason I am starting a new thread is to be more concise; explain the exact issue I now face in detail. Reading my last thread may help, but what I provide here should be sufficient. I am basically trying to find the best route I should take for my program as far as UAC and Vista is concerned. My program (SysPad) is accessible through my sig).
My program requires constant write access. The purpose of my program is to provide access to a quick notepad-esque program that is directly accessible from the Notification Area. It saves every time the user types into one of the textboxes.
The issue lies in the fact that when UAC is enabled on Vista, there is no folder that is writable to without elevation to Administrator rights. The hitch is that my program is designed to be a startup utility and the issue is that a user who has UAC enabled will have to allow my program through UAC confirmation every time my program runs at startup.
Basically, I am looking for options that will resolve this and make it less "painful" on the end user who uses UAC.
Basically, the only idea I've been able to come up with that is least annoying/intrusive, is to create a Launcher.exe program that does not require elevation and have it sitting in the Notification Area with the same icon as my program at startup. When the user goes to access the program, it then launches the actual program (exiting the launcher) thus invoking the UAC verification.
Of course this would happen every time they boot their PC or restart my program; but, at least they won't be asked for UAC verification as soon as their PC boots.
Does anyone have any other suggestions? I really would like to get this to work with UAC as best as possible. Otherwise, I could just make my program check if UAC is enabled, and if it is, tell them they can't use my program lol. But, I'd rather not do that.
View 18 Replies
Nov 8, 2010
I'm trying to use ASP.NET MVC with older versions of IIS that have trouble with MVC's default routing. I found a suggestion to add .mvc.aspx to my routes. So instead of this:
routes.MapRoute( _
"Default", _
"{controller}/{action}/{id}", _
[Code]....
What do I need to change in IIS and/or my MVC application to get the default page to work correctly?
NOTE: I tried adding RouteTable.Routes.RouteExistingFiles = True per this answer, but that didn't seem to fix the problem.
View 2 Replies
Apr 27, 2011
I have a asp.net mvc route that is taking a url and doing a simple get and return the status code from the request.
<AcceptVerbs(HttpVerbs.Post)> _
Public Function ValidateUrlStatusCode(ByVal url As String) As ActionResult
Dim code As Integer = 0
[Code]....
Now if I use firefox (using Firebug) and go to the url http://www.facebook.com/blah.html, I get the expected 404 returned. However if I use my application to call the mvc route via an ajax call, I get 200. If I set the request object's AllowAutoRedirect to false, I get 302. I never get a 404. I am verifying this once again through Firebug.
View 1 Replies
Mar 19, 2010
I have a asp.net mvc route that is taking a url and doing a simple get and return the status code from the request.
<AcceptVerbs(HttpVerbs.Post)> _
Public Function ValidateUrlStatusCode(ByVal url As String) As ActionResult
Dim code As Integer = 0
[code].....
View 26 Replies
Apr 20, 2007
im making a web browser which is intertwind in a project, but i cant get the progress bar to display the current percent of a page that is loaded, i want to have 10 segments, each standing for 10% of the total page loaded. So say a page is loaded 67%, 6 out of 10 of the segments will be shown.
View 3 Replies
Feb 14, 2012
I am trying to implement a BGW and want to report progress to a progress bar for my TextFieldParser program, sometimes if your opening very large files it takes a while and I would like the user to be able to see the progress and have some interaction so they know the program is still running I am a little hung up on what to in the reportprogress
I have:
worker.ReportProgress(0, myReader.ReadFields())
and its not doing anything, I didnt expect it too since ReadFields is an array
parser
Private Sub BackgroundWorker1_DoWork(ByVal sender As Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork
Dim worker As System.ComponentModel.BackgroundWorker = DirectCast(sender, System.ComponentModel.BackgroundWorker)
[code]....
View 6 Replies
Mar 19, 2010
I copied the code here and translate the code to vb [URL]it is working fine but there is one small problem but I cannot solve? Here is my code: SyncClientVB Another Source The scenario is... the progress is reported by an event (OnCopyingFile event)
Public Sub OnCopyingFile(ByVal sender As Object, ByVal e As CopyingFileEventArgs)
If pbFileTransfer.Value <> e.PercentCopied Then
If txtCurrentFile.Text <> e.FilePath Then
txtCurrentFile.Text = e.FilePath
[code]....
The problem is that it is ok when runned but when I click the form it starts to hang but in the console... it is still continuing.
dp.SyntaxHighlighter.ClipboardSwf = '/dp.SyntaxHighlighter/Scripts/clipboard.swf'
dp.SyntaxHighlighter.HighlightAll('6f5d1b01659646618ff3bdca29fb1b7f')
View 5 Replies
Jul 7, 2010
get the progress bar show the progress of the batchfile running in the background?
View 10 Replies
Mar 6, 2009
I have two forms, when the user selects a button, the second form opens and an external executable begins an automated process. The point of the second form, is to only show the current progress of the automated tasks and closes when those tasks are completed.How would I use a progress bar to show the current progress of an action on a different form without knowing how long it will take?
View 9 Replies