IDE :: How To Recover The Setting By Macro, ToggleTextEditorGrayScale
Jul 15, 2007I execute the macro, ToggleTextEditorGrayScale (Macro Explores--> MacrosSamplesAccessibility) inadvertently.
How do I recover the effect caused by it?
I execute the macro, ToggleTextEditorGrayScale (Macro Explores--> MacrosSamplesAccessibility) inadvertently.
How do I recover the effect caused by it?
I'm have a program (GUI) that interfaces with excel to execute macros. We're using Microsoft.Office.Interop.Excel to call/run the macros and this works great.What I can't figure out is a good way to cancel the macros from the GUI.One idea we had was to use the excel.application variable that runs the macros to write a "stop" value to a specific cell in the workbook, and in the macros (they are all mostly loops), check for the "stop" value in that cell. This crashes my GUI with this The program '[2188] BVLReports.vshost.exe: Managed' has exited with code -336589910 (0xebf00baa).And excel gets tied up, and won't respond. I know how to Exit Sub from within the macro if the "stop" value exists, so I don't need answers on how to check/cancel from inside the macro. Any ideas on a better way to write this "stop" value or a better way to cancel the macros externally?
View 2 Repliesi want to add photo to the employee and i want to save it to the another folder(any default folder of project) and retrieve it according to the employeeid from.basically i dont know the code
View 1 RepliesHow can I recover my last succesful build.When debugging the last build will run but I cannot edit anything due to errors in the current code.Does anyone know.Oh I am using VB.net 2008.
View 5 RepliesI try to write a program to recover my password. My password is max 10 character.
include: 0>9, a>z, A>Z. not include "space". ex: abc123.
I try to check with number first it mean:
I try check: 0, 1, 2, 3... 00,01,02...
But I don't know how to begin with another character.
I lost my asp.net web site project source code developed using VS 2005.language used is VB.I have the code which has been published on the IIS. Is there any way for me to recover the source code using the published pages.
View 1 Repliesi try to write a program to recover my password. my password is max 10 character. include: 0>9, a>z, A>Z. not include "space". ex: abc123.After, i try to check with number fist it mean: i try check: 0, 1, 2, 3... 00,01,02... but i dont know how to begin with another character,
View 1 RepliesIn VS05, we have autorecove set to every 7 minutes and save them for 7 daysThe help says they are saved in ...My DocumentsVisual Studio 2005Backup Files<projectname>However, the project name is there, but the folder is empty.
View 17 RepliesWhile testing my "nearly" completed application I deleted one of the primary forms.The code is intact, and the designer code is there byt the form is gone.
View 4 RepliesI am developing in Visual Basic 2008 Express Edition under Vista Business SP2. I have an application with an OpenFileDialog and a SaveFileDialog. When I call the OpenFileDialog on first running the application, it defaults to the directory from which the Application last opened/saved a file. However, this directory IS NOT
[Code]...
Alright, I've successfully deployed AppFabric, and everything was working nicely until we started getting an intermittent exception on the website[code]...
At first I suspected the server was running low on memory (throttled state), but I eventually concluded that wasn't the issue. In the event-log, I found DistributedCacheService.exe crashed every now and then, and it led me to a simple method of re-producing the error on my local development environment[code]...
I have a project with sql database and customer require to create this function .I mean when user use my program , they can delete, edit... but not still save yet. Suddenly power failure , and i want to recovery database when user turn on program again.
View 4 RepliesExceptions can have different degrees of impact on a program. For example a program should probably abort if OutOfMemoryException is raised, but it is possible to safely and appropriately handle System.Data.SqlClient.SqlException without putting the program in an unknown state.
I do understand that any exception has the potential to put the program in an unstable state if it is not properly handled. Are there exceptions that should never be handled beyond simply logging and throwing up the stack?
my system crashed and I lost all of my VB.net projects. IT says the hard drive is shot and they cannot recover the files. However, I have all of the project's debug files on a network drive that was not impacted because the info is stored on a shared sever.What I have are the following files: (These were pulled from the DEBUG folder)
Executible
Program Debug Database
XML Document
[code].....
Can I recover the project using just these files?
I dont have any back up for that form. Is there any other way to recover that form in vb 2008?
View 3 Repliesi'm in middle of building an application and something got corupted and the solution has 2 errors and i don't know how to fix it when i run the app it comes up the msg that there is errors and i can run the last successful build i'm interested if there is a way to recover the program solution from the last build or a othe way that i can undo the error?
View 3 RepliesI've made heavy use of the convenient My.Settings feature but sometimes I run into problems using it.
View 2 RepliesI was debugging my application when suddenly the computer crashed(blue screen).
When I restarted the PC one *.vb founded to be corrupted!
Is there anyone that knows a way to restore it?
I've made a program. The program does what it's supposed to do, for a while. The program is meant to recover my password if I loose it, but when I test it, it fails. It works fine until it comes to the number of my password. Then this error shows: object reference not set to an instance of an object. And this section of code is highlighted:
HTML
WebBrowser1.Document.GetElementById("ctl03$Login$username$input").SetAttribute("value", TextBox1.Text)
Here is complete Code:
HTML
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dialog1.ShowDialog()
[Code] .....
actually i have problem to develop tool for recover audio/video fil
View 1 Repliesrecover a program from published files saved on a website?
View 2 RepliesIs there a way in vb.net to undelete a file (deleted from Recycle Bin) or should i turn to unmanaged code? Write your code as efficient as you can to reduce CPU load, to consume less energy and protect our planet from global warming.
View 5 RepliesI cannot find a Backup Files folder and auto recover was turned on? I spent ages working on a project when the power went
View 6 RepliesI need help and wondering if you can help me to get my first project...it's a hobby and wondering if you can get me code for this so i can see how it does it* Evaluate( ) Prints the evaluation of the hand to the evaluation Label.
o If IsFlush( ), prints "flush; "
o calls SetPipArray( )
o Uses a For Loop to go through pipArray. For each element, uses a Select Case statement to
[code]....
In our projects we use setting variables to store user setting for the applications. Moreover, with every latest version of the applications, we upgrade these variables to retain user settings.Normally, this works fine, but recently one of my end user reported an error i.e.Configuration System failed to initialize". The error is related to user.config file. Therefore we requested the user to send us his file.After received the folder, we noticed that it contains 3 files (3begfjb.newcfg,3begfjb.tmp and user. config). 3begfjb.tmp is an empty file, while 3begfjb.newcfg and user.config are identical files. We tried to open these files but the data in user.config isn't proper xml rather its unreadable formatted file.Do any you guys had experienced this sort of issue or any ideas how and what may have created these files and corrupted user.config file.
View 3 RepliesHow do I recover a "Discarded Project" from VB.Net
View 1 RepliesI made a simple vb program with vb 2011 express. I want with a simple button click to open a prototype Powerpoint presentation and running in background a batch file.So far,so good... I want to do a third step. Into the "test.ppt" i have already made a macro with vba and i want to execute the macro.
[Code]...
I am trying to get a macro convert from VBA over to vb.net and I am getting a type mismatched error and can't figure it out.
This is the code.
Sub SortRawData()
Dim oSheet As Excel.Worksheet
Dim oRange As Excel.Range
[code]....
I wrote a UDF to enable users to run Macro`s in excel here is the function below
Private Sub RunExcelMacros(ByVal Path As String, ByVal MacroName As String)
Dim oExcel As Excel.Application
Dim oBook As Excel.Workbook
Dim oBooks As Excel.Workbooks
[code].....
And to use it just call the udf with the 2 parameters like below
RunExcelMacros("c:MyExcelBook.xls", "TheNetMacro")
just remember that you have to have an excel sheet with a macro named TheNetMacro or any other name you want to give it.
I want create macro for replacing. But my problem is how to use regular expression in Visual Basic's macro for Visual Studio?
document.Selection.ReplacePattern("test{[^']+}test", "testAAAAtest")
Doesn't work.