Developing On2008, Windows 7 X64, When Testing On 32-Bit XP, Apps Get Error Code?

Dec 7, 2009

alguien habla espaƱol

View 3 Replies


ADVERTISEMENT

Developing A Unit Testing API?

Dec 29, 2010

I have been assigned a task of exploring unit testing using tools available in the market.My question is how do i write an API that would help in writing unit test cases.Example i can use nunit to write something like this to check whether file exists in the given location.

<Test()> _
Public Sub CheckOutputFileInfo()
ReportPath = "D:temp est.txt"

[code].....

View 3 Replies

Testing - Are There BDD / TDD Tools For Developing

Oct 28, 2009

I am responsible for rewriting an internal tool for my company. I am currently reworking the most time consuming step to run faster which should give me time to re-think the design of the application for a full rewrite as the interstitial version will meet the current needs. I really want to take this opportunity to implement this code using BDD/TDD but I am new to this method of programming in general and especially within the context of .NET. Are there BDD/TDD tools available for .NET? What resources should I look at?

View 2 Replies

VS 2008 Managing/theming Other Apps (developing A Shell)?

Jan 12, 2010

I'm developing a shell (think LiteStep or SharpE) for Windows using Visual Basic .NET, and I have reached the point where I will need to get into theming other windows that doesn't run inside the shell itself.Modifications I will need to do is to change their title bars - probably using some kind of API call - to match the design I've integrated into the shell itself, if that is even possible. Having Aero on windows running in a shell that doesn't even look like Aero at all isn't very pretty.) Is there a chance I might be able to do this, or will I have to use a 3rd party application and/or develop my own little programming language for shell-specific applications (which would be a pain)?

View 2 Replies

Using WriteableBitmapEx - Developing Metro Apps - Write Text On Images ?

Mar 17, 2012

I am currently developing metro apps and I need to write text On images.

I found this:[URL]

But I am new to XAML and dosent know how to use it specifically. So can anyone say me how do I use it in order to write text on image.

If I use as Muad'Dib I am getting the error as seen in below screenshot:

The Error is: 'Writeable Bitmap Extensions' is ambiguous in the namespace 'System.Windows.Media.Imaging'

View 1 Replies

Windows.Forms Based Apps Vs WPF Based Apps?

Jun 21, 2010

what WPF based apps are?Is it an application that runs under Silverlight? If so, how?I know; Windows Forms based apps,console apps,DLL _ Class Library Projectsand I've had an introduction to ASP.Net.What I mostly want to know is, if WPF apps are for Silverlight then do they also run in a server based fashion like anASP.NET website would when you create ASP.Net webpages?Is it a way of creating what looks like a FORMS BASED application but it runs in a browser instead or what?Please enlighten me a bit further as I have no idea what WPF is all about.

View 3 Replies

Developing WEB Or Windows Forms?

Jun 29, 2010

I am looking for best practice for developing new application. Our company has developing VB6 application for customers about 10 years. This application has mostly math calculations and works with MS Access DB. Now we are looking for method how we can develop WEB application with ability to client to download application for local work. Some of customers does not use internet at all from security reasons. So the WEB solution only not enough for US. I understand that WEB and Win.Forms have different user interface, so I am looking for best practice to create engine for both platforms(Web and Forms) . The main task for us is minimization of maintain and designing. Is there any technologies can be used in web and desktop app at the same time(like dll). I do not know how to make next step in order to estimate this project.

View 1 Replies

Developing A Windows Application In VB2008?

Apr 28, 2011

hi, i am developing a windows application in visual basic 2008. when i will install or setup my application to clients' computers, do i have to install the dot net framework 3.5 in every single pc or i can include dot net framework 3.5 in my application.

View 4 Replies

Developing New Application In Windows Development?

Jun 5, 2010

I have to develop a new application in windows. in which i have to develop following thing but i am not getting how to develop it.I have to develop following are the two points:1)To show the http addresses that are visit by other computers on the wireless network.

[Code]...

View 6 Replies

Testing In Under Windows 7?

Nov 25, 2009

When i try to run my unit tests in vb.net, visual studio closes down because of an error.I don't know what is causing the problem but i is very frustrating.I have a project running for school that i can't continue because of this problem.When i had visual studio installed under windows vista i didn't got that problem. (same version of visual studio)

View 8 Replies

Choosing The Right Control For Developing Windows Application

Dec 24, 2009

I am looking for a contol either listbox or listview to support my requirements. Basically how my application looks is:

[Code]....

Having said these things. I used to program in VC++6, VB6. But using those version now seems not realistic now as I lost touch. But if I have to use the latest 2008 versions, for which I do not have any experience seems scary. So, If you are reading this , and you have got some experience in these fields or using controls that support my requirement, can you please let me know which programming language or IDE and Control should I use to develop this application. PS: the image is made using mspaint and does not represent actual program.

View 1 Replies

Resources On Learning & Developing Windows Application?

Apr 26, 2011

I am a new bee in windows application in VB.net.I am now in the process to develop a windows application from zero.I have searched online on the reference to develop a windows application from zero but fail.

I also fail to find any resources on beginning on vb.net which introduce all the tools inside such as menustrip.Does anyone has any idea how to find out the resources?

View 1 Replies

Using Same Code In Different Apps?

Sep 9, 2009

say i have a piece of code of some function I would use in many different new apps for example

Code:
Dim Expression As New System.Text.RegularExpressions.Regex("S+@S+.S+")
If Expression.IsMatch(txtEMail.Text) Then

[code].....

View 4 Replies

Testing A Windows Service?

May 15, 2012

1. when testing a service, should I install the exe which is in the bin subfolder or the obj subfolder, and why?

2. when distributing the service, should I use the exe which is in the bin subfolder or the obj subfolder, and why?

View 3 Replies

C# - Developing An Effective Barcode System / Code

Jun 15, 2012

I'm sorry if the title is misleading but I have to develop the format for a barcode (either 1D or 2D, doesn't matter). The barcode needs to include a Purchase Order #, Bill of lading #, as well as the Line #, product ID # and quantity of each item that appears on the purchase order. Here is what I've come up with so far:

[Code]...

View 2 Replies

Code Samples Of Cloud Apps In .NET

Feb 16, 2012

I have been en-charged of creating some apps using the cloud. I only have experience programming windows apps (vb.net) Do you guys have any code samples of cloud apps in VB.NET? If not, do you know where I can find this?What about documentation for creating vb.net cloud apps?

View 3 Replies

Winforms - .net NUnit (2.5) Windows Forms Testing?

Oct 18, 2011

I am retrofitting unit testing into a fairly complex system designed and written by other developers in VB.net. I am trying to develop unit tests for the GUI forms using NUnit and the NUnit Forms extension. (I've been looking at c# examples that are fairly easy to port over if you have a solution but don't know VB syntax as long as it uses NUnit classes)

I will try and explain what I am doing but first a brief description of the program. It basically monitors server activity. You need to connect to a server via a modal form with IP and Port fields(amongst others). Once you have connected to a server other parts of the program unlock and become usable (such as configuration of the server).

Desired process: Load program > click connect button > modal connect form loads > enter details > click OK to connect > main form updates to logged-in state > other functionality

The problem is that I cannot test the functionality of the connect form and then the logged-in functionality of the program. I can test that it loads the modal connect form correctly; enters the details and clicks OK (all fine so-far) but it does not appear to logically progress the program. The modal form just closes again seemingly without running the connect code from the program back-end and I'm back at the main menu not logged in to anything.

I have a feeling that I've either missed something really obvious or that it's simply not doable in NUnit.I have trawled the internet in search of anything similar but the closest was another SO thread that was really generic. Without being able to actually test the logged-in version of the program, I'm at a major hurdle.Another issue is handling message boxes that don't have unique identifiers (e.g. "are you sure you want to exit?"); these also seem to be a major pain in the arse with NUnit (If it makes any difference, I'm running the tests as a stand-alone project using a reference to the executable file of the built project, not the actual source)

View 2 Replies

Winforms - NUnit (2.5) Windows Forms Testing ?

Jun 10, 2012

I am retrofitting unit testing into a fairly complex system designed and written by other developers in VB.net. I am trying to develop unit tests for the GUI forms using NUnit and the NUnit Forms extension. (I've been looking at c# examples that are fairly easy to port over if you have a solution but don't know VB syntax as long as it uses NUnit classes)I will try and explain what I am doing but first a brief description of the program. It basically monitors server activity. You need to connect to a server via a modal form with IP and Port fields(amongst others). Once you have connected to a server other parts of the program unlock and become usable (such as configuration of the server).Desired process: Load program > click connect button > modal connect form loads > enter details > click OK to connect > main form updates to logged-in state > other functionality

The problem is that I cannot test the functionality of the connect form and then the logged-in functionality of the program. I can test that it loads the modal connect form correctly; enters the details and clicks OK (all fine so-far) but it does not appear to logically progress the program. The modal form just closes again seemingly without running the connect code from the program back-end and I'm back at the main menu not logged in to anything. I have a feeling that I've either missed something really obvious or that it's simply not doable in NUnit. I have trawled the internet in search of anything similar but the closest was another SO thread that was really generic. Without being able to actually test the logged-in version of the program, I'm at a major hurdle.Another issue is handling message boxes that don't have unique identifiers (e.g. "are you sure you want to exit?"); these also seem to be a major pain in the arse with NUnit(If it makes any difference, I'm running the tests as a stand-alone project using a reference to the executable file of the built project, not the actual source)

View 1 Replies

VS 2008 Stop A Code For Testing?

Apr 5, 2012

I tried look online for a simple task but I haven't been able to find the answer. How do you stop a code for testing? I triedexit - only works for loops and if statementsstop - kinda works, but doesn't completely stopsend - the form disappears when it ends

View 4 Replies

Installing VB2008 Express Apps On Windows 2000?

Apr 27, 2010

If my understanding is correct, Win 2000 only supports .NET 2.0 Framework. I am using VB2008 Express to write an app that I would like to install but I believe VB2008 Express utilizes the .NET 3.5 Framework.

Is there a way to compile my app so that it only requires the .NET 2.0 Framework? Or, more directly, is there a way to install apps written with VB2008 Express onto PC's running Windows 2000?

View 1 Replies

Sql - Unit Testing The Data Access Layer - Testing Update Methods?

May 15, 2009

I'm looking into adding some unit tests for some classes in my data access layer and I'm looking at an update routine that has no return value.It simply updates a row based on the id you provide at whichever column name you provide.Inside of this method, we collect the parameters and pass them to a helper routine which calls the stored procedure to update the table.Is there a recommended approach for how to do unit testing in such a scenario?

View 4 Replies

Windows - Testing Application For Administrative Running Rights .NET?

May 23, 2011

I want a sure-shot method to test if the application was run via the UAC box and has full administrative rights. Earlier, I thought of making a folder in C:Windows for testing but running it on other computers proved to be a failure!

The UAC box provides all administrative rights to the computer to do anything(including making folders and creating files in places which needs there rights) and also makes sure that any child program so called or created also does have the same rights as the parent.Is there a sure-shot way to test if my application has been provided all the administrative rights that I can maximum get by the user while running the application or not? If yes, I would be glad to have to piece of code-work!

View 1 Replies

Testing If Code Executes In Debug Mode?

Aug 12, 2009

How can i test that the code executes in debug mode.

Here is what i would like to do in pseudocode
if not debugMode then
Do something()

[code].....

View 3 Replies

Flickering Task Bar On Full Screen Windows Mobile 6 Apps?

May 4, 2009

Just finishing off an update to an application written in VB.NET that used to run fine under CE.NET 4.2. Deployment platform is now Windows Mobile 6.1. The application runs in full screen, however whenever a new form is opened, the task bar, i.e. the bar with the start button comes to the fore and then the new form takes over. This is particularly annoying as I have a form that has many sub forms which are 128,128 and still the task bar flashes and obscures part of the user input screen

View 2 Replies

Use Window Form App To Manage Windows Service Apps My.settings?

Aug 26, 2009

I have a solution with two applications in it. One is a windows form application that I want to use to set and manage a windows SERVICE application app settings.

For example. The form has the database connection string on it, when updated. The windows service application settings are updated.. I can get it to work for the windows application, but I need to jump boundries to the other application( Windows Service) and update the app settings there.

View 5 Replies

Error While Running Any Homebrew And Other .Net Apps

Jul 2, 2010

When I'm trying to run a .Net app, even a blank form right out of the VS IDE it gives me the following error:Error while trying to run the project: Can not load file or assembly [Project name] or one of it's dependencies. The module was expected to contain a manifest.and when I'm trying to run the .exe out of the bin/Debug folder it says:The application was unable to start correctly(0xc000007b). Click ok to close the application.

View 3 Replies

Difference Between NUnit Testing And Unit Testing In VSTS?

Aug 25, 2009

I use VS team system 2008. At the moment i need to test some business classes, i have found two kinds testing NUnit and the unit testing provided by the VS team system. what are there differences?

View 1 Replies

.net - NullReferenceException Unit Testing Error

Sep 18, 2011

Doing some homework on unit testing and in all honestly i just don't get why i get this error.

i got a simple method that select all text when tab and testing if the actually textbox1 is selected. I just don't get why i'm getting a nullReferenceException at target.txtbox1_Enter(sender, e)

Private Sub txtbox1_Enter(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtbox1.enter
Dim txtBox As TextBox

[Code].....

View 1 Replies

Send Keycode Keys.apps (windows Context Menu Key) To An Application?

Aug 21, 2005

I need to be able to send keycode keys.apps (windows context menu key) to an application. Surely if I can detect the keypress, there's a way to send the keypress, right?

What I'm doing is having a 3rd party app save a screenshot and the only way to have it do so is through its right click context menu.

View 11 Replies

Developing An Automation Tool To Test New Desktop - Open Menu Items On Toolbarwindow32 Windows?

Aug 5, 2008

Currently developing an automation tool to test new desktop OS builds at work. Need to be able to open menu items on toolbarwindow32 windows (main menu of explorer windows). Now this requires retrieving information of all the buttons on the toolbar, obtaining the button ID of desired menu and sending a WM_COMMAND message with the ID. I'm having trouble retrieving button information.Now im using openprocess, virtualallocex to allocate virtual memory in the target process, and then sending the TB_GETBUTTON message with a pointer to the allocated memory then reading out the result. Allocation and the send message works fine but reading the processmemory back out is failing but not returning an error code, getlastwin32error returns nothing either.

<StructLayout(LayoutKind.Sequential)> _
Public Structure TBBUTTON
Public iBitmap As Integer[code]....

As mentioned above, the read process memoery call fails, the return value is -1 The documentation states it returns 0 for fail, non zero for pass. Wondering if the problem lies in incorrect use of types in pinvoke calls or the struct tbbutton is incorrect, or my use of a pinned pointer is wrong,or whether I need to use adjusttokenpriviledges to ensure I have rights.Though I'm running under admin and examples similar to this don't use it.

Relevant documentation
Virtualallocex
Read Process Memory
TBBUTTON Struct

View 11 Replies







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