De-compiled Project With 2 Errors?

Jan 10, 2012

I have a VB .dll from a previous developer that I need to modify. So I de-compiled it with no errors and then exported the code. I tried to compile the project and get two syntax errors:

New SqlDataAdapter(query, Me.connection).Fill(dataTable)
New SqlDataAdapter(DirectCast(command, SqlCommand)).Fill(dataTable)

The error message just says syntax error, nothing else.

View 3 Replies


ADVERTISEMENT

IDE :: Intellitrace Can't Run Because The Project Is Not Compiled For X86

Jun 11, 2010

I imported a VS 2008 project, and eventhough my project is compiled for x86, the intellitrace will not run and says that the project is not targeting x86.

View 1 Replies

Make Changes To The Database Of A Project That Has Already Been Compiled?

Mar 29, 2012

I need to update a vb 2008 program which will affect both the data and the database structure. How can I do these?These program has already being compiled, I mean its already in its .exe form, How do I do this?

View 8 Replies

Moving VBA Project Into Compiled Code?

Jun 9, 2011

i am a Microsoft Word developer and I sell Microsoft Office solutions, to companies. I am beginning to be concerned that my solutions are being copied - which is fairly easy.I am hoping someone can give me some advice about the best way to do this.I don't really have much of an understanding outside of Office VBA development - but have dabbled in .NET and VB in the past. Should I be buying Visual Studio - if so, does it matter if I buy Visual Studio 2008 or 2010 - I will initially need to convert some Word 2007. I have previously downloaded the .NET framework, and not sure how this relates to Visual Studio.

View 3 Replies

Running Pre-Compiled & Non-Pre-Compiled Webpages Under One Virtual Directory

Feb 21, 2011

I've a requirement to have PreCompiled webpages and Non-PreCompiled webpages under same application. For example below is my structure:

/Bin
/Test1 (PreCompiled)
/Test2 (NonPreCompiled)
/Test3 (PreCompiled)

I would like these to have their separate "Bin" folders too if possible at all (I tried using "Probing" but I guess that's not allowed for web apps and defaults to "Bin" folder). If not that then definitely some ability for these to work together under one app/virtual directory because I'm not allowed to create another at any cost :(

View 3 Replies

Dataset Errors Compiling Project?

Jul 8, 2011

I have a problem with one of my projects that has only just started occuring this morning.I am using VS 2010.I get errors on every form that has a VS generated dataset, similar to;

me.<dataset> = new <namespace>.<dataset>()
and
with events <dataset> as <namespace>.<tableadapters>.<tableadapter>

[code].....

View 2 Replies

VS 2010 IIS Errors Loading Project

Mar 2, 2012

A need came up for me to work on a program that resides on a web server. I can't pull up the code and I get these errors:

[Code]....

In addition, you must run Visual Studio in the context of an administrator account. I have never worked on anything like this before and for right now I would just like to look at the code. I Googled and found this: You can enable these features in the Add/Remove Programs control panel. In there you wiull find a link off on the left labeled something like 'Turn Windows features on or off'. Click that and you'll get a UI for managing the IIS features that are installed.

I looked there and don't have a clue what I should check. I'm on Windows 7. What should my approach be? I don't want to just clicking things in the IIS configuration console. The attachment is what I see.

View 3 Replies

VS 2008 93 Compile Errors On Opening Project?

Jun 24, 2009

I'm not sure what happened. I saved my project last night and everything was in working order. I opened it this morning and it's not recognizing a lot of the System methods and functions

MsgBox
Format
FormatCurrency
InputBox

Even the constants like vbTab and vbCrLf aren't appearing. Any suggestions on this? I'm running VS2008 Express Edition.

View 6 Replies

Project Clean-Up - Errors Occur When Someone Doesn't Pick A Value

Oct 21, 2009

today I finished my VB project which is a program that generates costs of pizza's by what the customer order. The code is all complete just looking for some idea's on to stop bugs and clean up the code. So below is all my code and picture of the form. Errors occur when someone doesn't pick a value, so what i want is there to be default values as 0.

[Code]...

View 1 Replies

VS 2010 Class Library Project - Tons Of Errors

Oct 22, 2010

In one of my applications, I decided to make a separate project for a few general classes. However, it started to give me tons of errors that I am having a difficult time figuring out.

View 7 Replies

Adding Project To Existing Solution Causes To Crash / Multiple Errors

Mar 10, 2011

I have a project that as a standalone runs perfectly. There are a number of routines, forms etc. that I want to incorporate into another solution that I have created. Each time I try, it will load in the new project, but if I try to access anything by clicking on it, one of two things happens, either VS crashes and then restarts OR I get 100+ designer errors thrown.

View 8 Replies

Project Is Throwing Errors Everywhere Try And Change The Foreground Color In Code?

Jan 27, 2011

After upgrading to .net 4, my project is throwing errors everywhere I try and change the Foreground Color in code. It works fine in .net 2, 3 and 3.5

View 18 Replies

ASP.NET UpdatePanel Timeout And 500 Errors With Custom Errors?

Sep 23, 2011

I have a .net application that uses customerrors web.config module to display meaningful messages for errors. It works without any issues for 500 errors/exceptions caused by non-ajax and ajax components (updatepanel). However, in a scenario where updatepanel's asynchronous request times out, there is no error raised at all. I was able to see the timeout in firebug and come up with a solution that would at least display the error message as an alert and then redirect the user to the 500 error page using javascript but it's not quite doing what the rest of the application does in case of an unhandled errors like these. I basically just want everything to go through "LogEvent" mechanism so based on the severity of the error, it does the necessary work.This 500 error page doesn't have anything in the Server.GetLastError() for these timeout scenarios. Is this an expected behaviour? Can it be changed so I do have access to these timeouts in Server.GetLastError() OR maybe just run this error through "LogEvent" mechanism? Is there a better/more graceful way to handle this issue?

Below is my code to give you an idea, not exactly what I have in my application but pretty close.

Web.Config
<customErrors mode="On" defaultRedirect="~/Errors/ErrorUnknown.aspx" redirectMode="ResponseRewrite">
<error statusCode="500" redirect="~/Errors/Error500.aspx" />
</customErrors>

[code]....

View 1 Replies

Publish Build Errors (But No Errors In Debug Or Build) VB 2010

Jan 4, 2012

So when i build or click debug on my program. No errors come up and its smooth. So i decide to publish my programme. However. I come up with a bunch of errors during the publishing.

Here they are:Error 1 Cannot publish because a project failed to build. 1 1 Simple CALC

Error 2 Unable to copy file "binReleaseSimple CALC.exe.manifest" to "binReleaseapp.publishApplication FilesSimple CALC_1_0_0_0Simple CALC.exe.manifest". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

View 3 Replies

In-project Components Fail If Project Is Opened With In-project Component Used On Initially Open Form?

Dec 20, 2010

Public Class ExtendedDateTimePicker Inherits DateTimePicker

View 5 Replies

VS 2008 - Timer - Project A References Project B So Can Open A Large Form In Project B

May 5, 2010

For reasons that are beyond my control, I have three Projects. Projects A and B reference project C. Project A references project B so that it can open a large form in project B. I now need to open that large form from project C, but VB won't allow me to add a reference from C to B because that would create a circular dependency. I found a way around it, though. I created a Timer in A, and when I opened C from A, I passed in that timer. When the user performs a certain action, I enable the Timer from A, and this causes C to open B for me.

View 2 Replies

Call To A Sub In The Compiled Exe?

Feb 20, 2009

I am learning to use the ScriptControl. I have been able to get it working with out much trouble. But I do not know how or if it can be done to have the user write in the script to call a fuction/sub in the main app. How can I have the user make a call to a sub in the compiled exe?

View 1 Replies

Compiled EXE To Be Compatible With?

Jun 2, 2010

If I'm running VB Express 2008, how do I choose what NET Framework I need the compiled EXE to be compatible with?

How do I do it in Visual Studio 2010?

View 1 Replies

Run A Compiled Program?

Feb 25, 2009

I am not a programmer or anything like that but I have managed to create a little program.The program is for work. It is VERY simple - it adds a few figures the user inputs and then generates a text output so the user can copy and paste it to a customers diary notes on the customers account.Here's the problem: It works on the managers computer but not on the consultants computers who will be using it! The reason it doesn't work is because the normal consultants computers don't have .NET installed :( The solution is simple - install .NET! lol however the company I work for is quite massive (corporate size) and our department is quite small and insignificant so if we want to install something like .NET on all the consultants computers it will take around 6-8 weeks! Now we desperately need to start using this mini program ASAP! Is there any humanly possible way to run a Visual Basic program without installing .NET? Is there some kind of file I can download and put in the folder of the mini program that will allow it to work?

View 2 Replies

Will App Compiled On 64 Bit Run On 32 Bit Machine

Nov 20, 2010

I'm buying a new computer this week and the one I want has Windows 7 Home Edition 64 bit. I program in VB.NET using VS2008. If I write a program and compile on this 64 bit windows, will it run in 32 bit? I did some reading and from what I understand is if it is not using any specific 64 bit drivers I should be good. I'm not doing anything fancy that I know of as far as drivers. I just wanted to see what everyone's past experience has been.

View 3 Replies

Include Contact Project Into Another Project / Add More Items To Database / Forms In New Project?

May 6, 2009

I have a project that I have created, it something like a contact database.It is complete with its own sql server database, and controls and forms.I kinda of understand that I can include this project into another project.This is the tricky part,Can I include my contact project into another project and add more items to the database and forms in a new project?What I'm after is like using classes.My contact database would be like the base class, and the new project would be adding more features to that project.

View 10 Replies

.net - Compiled Class In Two Locations

Aug 22, 2011

I'm a tad stuck trying to get a List to load from the ViewState using ASP.NET 4 and VB.NET. When I try to retrieve a collection using:

[Code]...

View 1 Replies

Add The Time That App Was Compiled At Into A Label In App?

Jun 7, 2009

I want to add the time that my app was compiled at into a label in my app. For example if you went to the about dialog on my app it would say 'Compiled 07/06/2009 20:05', any ideas on how to do this? Im using VS2008 and Visual Basic.

View 1 Replies

C# - Compare Compiled .NET Assemblies?

Mar 16, 2009

compare to compile .NET assemblies?

For example I have HelloWorld.dll (1.0.0.0) and HelloWorld.dll (2.0.0.0), and I want to compare differences how can I do this?

I know I can use .NET Reflector and use the Assembly Diff plugin. Are there any other good tools out there to do this?

View 5 Replies

Can't Download Compiled Files

Jul 23, 2010

I understand you can't download compiled files because of viruses but how do you use the seperate files? I downloaded something and it only gave me a bunch of .frm and .frmx files.

View 5 Replies

Compiled C Dll Can't Set Pointer When Called From ASP.NET App?

Dec 10, 2009

I've got a 3rd party C application that's compiled to a non-.NET non-COM DLL. It has one simple function declared like so: Declare Function CapiTaxRoutine Lib "taxcommono.dll" (ByVal sInData As String, ByVal OutputData As String, ByVal intINPutLength As Long) As Integer

If I place the taxcommono.dll in my path (C:WindowsSystem32 is what I'm using because it's what the vendor recommends),I can wire up a call to the function and it works just fine.It returns a 1 or 0 for success/failure, but it also sets the value of the OutputData string parameter (using some C pointer magic I'm not familiar with) to a huge fixed width format return record that has the data I need.When I call it from a .NET .exe application, it works just fine.When I try to call it from an ASP.NET application via a referenced compiled .NET wrapper DLL, it runs but can't set that string.In order to get it to run, I can't have taxcommono.dll in my path, but rather have to place it in my Bin directory of the web project.Does anyone know of a reason it can set the pointer when called from an .exe application but not when called from a web app?The .NET wrapper DLL I'm using works when called from our ERP software, which is not web based. But when I add a reference to that same DLL in the web app, it won't give me that output value.am used to just getting a return value instead of a function setting the value of one of my input parameters.

View 1 Replies

Compiled File Resources?

Jun 15, 2009

For the last two days or so, I've been trying to get a program to compile another program that will extract a series of files and run them in a given order, like a self extracting zip archive.The program compiles fine and compiles sub programs, but I am unable to go about correctly embedding the resources.The output program shows the large amount of data ( ~12mb from the file I've been embedding to test ), and there are no compile errors.However, I cannot get it to access the resources correctly. It will either result in a compile error about the resource image not being valid / containing any resources, or a friendly "System.Resources.MissingManifestResourceException" being thrown.

View 1 Replies

Display The Value 2 In A Textbox When Compiled?

Oct 5, 2010

I am making an application which will have a member list for my clan (with listbox), and times of warnings (with label), and conflicts people have had with this member (listbox).I want my application able to add members (with saving in file), and remove members (with saving in file), and remove warnings (wth saving in file).As I dont know how to split and remove and store stuff in a single file, it'd be impossible for me to code. That's why I come here and ask if someone can code this for me.Some of my friends said it could be possible by splitting each line, in the following format in a .ini (doesn't have to be .ini it can be also a non-format file) file:

[M]Member1|IntWarnings|Conflict1-Conflict2-Conflict3[M]
[M]Member2|IntWarnings|Conflict1-Conflict2[M]

This friend can't help me now, because he suddenly had to go offline, he might not come online today aswell.I have already made the interface, but as I said before, I have no idea how to code this and would like some help with this application.All the members I would like to store in: lstMembers (Listbox All the conflicts per SELECTED member I would like to store in: lstConflicts (Listbox)The warnings per SELECTED member, I would like to store in: lblWarningI want to know if this is all possible and HOW, since I have no idea what Split can do.

View 17 Replies

EXE In 32bit And DLL Compiled For AnyCPU?

Apr 9, 2011

Our application is one EXE and multiple DLL's. Right now, we are compiling all of them for x86 so we are forcing 32bit because the running size of the application is a lot smaller (memory usage).If we compile the EXE as x86 and the DLL's as anyCPU, on a 64bit machine will the DLL's be 32bit or 64bit?

the reason for my question is if i can compile the DLL's for anyCPU and then have two EXE's, one for 32bit and one for 64bit, then i have only one duplicate program for the 32 or 64 bit change, and if a user wants to run full 64bit they only need to run the 64bit EXE and everything is fine. But if a user is on a 64bit machine but wants to run in 32bit mode, they would run the 32bit EXE.Let me know if this is true. i can't test this as i develop on a 32bit XP machine.

View 3 Replies

Increase Protection For Vb Compiled Exe?

Apr 13, 2010

i know that NO software is safe from hackers etc... i mean if Windows can be cracked and hacked (developed by possibly worlds most advanced programmers) then hobbyists and small developers have alot to hope for.But is there any way i can increase protection for my vb compiled exe?First of all is there a way to remove ALL comments from my compiled code?Is there a good obfuscrator for vb net 2008 code

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved