Develop Reusable Functions In VB?

Feb 27, 2011

I'm new to programming.So face problem in coding for reusable function for add.My database in MS-SQL.I'm coding in vb.net.Imports System.Data.SqlClient[code]...

View 3 Replies


ADVERTISEMENT

VS 2008 : Have A Class Where The Functions Of The Same Name Are Both Instance Functions And Shared Functions?

Dec 6, 2010

What I am trying to do is have a class where the functions of the same name are both instance functions and shared functions.

Public Shared Function Get...(byval xx as xx)

and

Public Function Get...

The Public Function uses a Property xx created in the constructor, whereas the Shared Function has the parameters (byval xx as xx).

View 1 Replies

Store Some Reusable Data?

May 18, 2009

I am having a problem thinking of how to store some information in my design [code]...

Also I am thinking I would like to put something like A Division = 1 or A and so on! So I am thinking that I may have to steer away from this method and move to an array instead?

View 2 Replies

Dynamic And Reusable XML Read Write In ASP.NET

Mar 22, 2011

I am new to XML and ASP.NET. I need to design a application which will use webservice input and output (LDAP webservice not made on asp.net).I need to send username password and other fields in XML string format to webservice methods and get the more details about username in xml string format only.So i need to send xml and get xml string and populate my server controls with xml attributes ,elements,values etc.This includes update and delete also..If I use XMLDocument evry time to read write xml , what can be the best way to store all unique xmlattribute, xmlvalues and xmlelement in a Object which is accessible throughout my website for a specific user and sould persist on all postbacks unless user logouts

View 2 Replies

Make A Control Reusable In Different Projects?

Jun 22, 2011

Is there a way to not put the project name in the Inherits attribute?

I am working with vb and I have multiple projects, that have multiple web pages. In each of these projects I create controls that are reused in the web pages.

Each control I have is declared like this:

<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="MenuBarControl.ascx.vb" Inherits="**projectName**.MenuBarControl" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>

When I want to copy the control into another project I have to change the **projectName**. Having to change the project name for each project makes the code not reusable. Changes made to specific projects each time is not reusable.

I want to be able to omit the project name in the Inherits attribute. When I do that now I get an error

Parser Error

Parser Error Message: Could not load type 'MenuBarControl'.

View 2 Replies

Reusable Custom Control With Properties?

Nov 13, 2009

I have built a Custom Control Class that makes it much easier to build a side bar element in my html.

The problem I am running into is that when I set the "Text" property, the last time I set it gets used for every instance of the control on my page. This is my first time doing this, so I'm assuming I'm missing something basic.

[Code]...

View 1 Replies

VS 2005 Where To Declare Reusable Class

Jun 11, 2010

I need to declare an Address(street address) class which can be reused in multiple forms. Where should i declare it?

View 3 Replies

Create Custom Control With Reusable Properties?

Nov 14, 2009

This is similar to my last post but with a different purpose.I have built a custom control, but when I set the properties for it... ALL instances of that control on my page grab the exact same property. I need to be able to set the property to "abc" for one instance of the control on my page, and then set the exact same proprty to "xyz" for a different instance of the control on the same page.

[Code]...

View 1 Replies

Create A Reusable Grid View Component Like Date Time Picker In Asp.net?

Jan 5, 2010

I want to create a reusable user control which contains a date time picker in asp.net. Need to add this user control in a grid view as column.While clicking the column,date time picker has to be displayed.Which is the suitable method,Creating the component or creating the user control.Also want to know,How to add this component in to the toolbox?

View 2 Replies

Excel Maths Functions And Calls To All DLL Functions Documentation?

Jan 29, 2007

1) Is it possible to access the Excel mathematical functions without actually opening Excel?

I was thinking of through a DLL WinAPI call or maybe a delegate function or smaller program?

2) Does anyone know of a MS link or area that gives instruction on "how to" use every function of every Windows DLL at all?

Or for all those that Microsoft have chosen to document online at least.

View 1 Replies

Differences Between VB Functions And Convert.To* Functions?

Feb 19, 2009

While converting types, I have found myself using both VB functions and BCL Convert.To* methods.
E.g.)

Cstr() vs. Convert.ToString()
CInt() vs. Convert.ToInt32()
CDbl() vs. Convert.ToInt64()
etc...

Are there any subtle differences that should be noted?

View 1 Replies

[2005] MembershipUser Functions - See Exactly What The Functions Are Doing?

Mar 4, 2009

Is there a way to see exactly what the functions are doing. What i mean is there a way to see the class? I know what it does, i just want to know the code.
For example the function: Membership.FindUsersByName()

View 1 Replies

Create Functions In Functions

Jul 1, 2011

I'm redoing a program for my company and my boss wanted me to created the entire thing through functions...

For the task I wanted to know is it possible to have functions within functions?
Sort of like in C where we would have nested structures?

Its a FILE I/O, with robot commands, moves and verifications....

So I would find the line in an excel spreadsheet where it moves, the coordinate, put it into an array.

Take the actual results store them into a two dimensional array...etc, etc....

Another function would eventually compare the results with the moves, and within a tolerance.

View 9 Replies

Develop A ASP.Net Web Application Using C# Or VB?

Jun 22, 2011

I am new to this forum and I would like some help from my respected seniors.I am trying to develop a ASP.Net Web Application using C# or VB. First of all prefer me whether C# would be easy or VB for the following scenario:Below are the requirements:

1. For All Users:

Text-chat feature will allow users to chat with the available online users.

2. For Registered User:Allow users to create new folders and sub-folders, to store (upload) files.Allow users to perform move/copy/delete operations on folders and files. The percentage of storage capacity remaining and used should be displayed on the top. Automatic versioning system will record the version/revision information when a file is replaced/overwritten Team management feature will allow users to work in teams (by inviting other existing registered users). The activities of the team include access to the password protected area for the team, uploading files, commenting on the uploaded files (discussion), polls, automatic and manual reminders to the team members.

3. For Administrator:

Approve/Reject new team requests; update/delete existing teams.View all the files and folders uploaded on the server.Allow to perform delete operation on any existing file/folder existing on the server.Delete account for any registered user.Define and Edit storage capacity and other limits such as Maximum file size allowed for uploading.

Queries:

1) As, every user will have his/her own PERSONAL profile page then how will the system redirect the user to his/her PERSONAL profile page after hitting Login?

2) How this chatting feature can be developed?

3) How this storage capacity would be assigned overall?

4) How Administrator will manage all this?

I am totally confused.I have developed SRS as well. but in coding I am totally stuck as I am not so good in coding. I thought Visual Studio 2010 would help me effectively in this case, and I am trying but couldn't find any way for this to be done.

View 4 Replies

Develop Apps For PC And Mac?

Mar 19, 2012

I need to develop some apps that will be accessed from both PC and macs. Can this be done with visual Studio 2010?

View 2 Replies

Develop For MonoTouch Using .NET Rather Than C#?

Dec 29, 2010

Is there any way to develop for MonoTouch using VB.NET, rather than C#?

View 2 Replies

Develop POS Program In VB?

Aug 9, 2011

Want to develop POS program in visual basic?

View 2 Replies

How To Develop A Standard C#

Oct 5, 2009

So, I don't want this to get into a flame war between C# and VB.NET developers. This is purely from a standpoint of a development department going forward. We've been a VB.NET company for years, but that was mainly due to who we've hired. That requirement has fallen off the wayside as of late, as we've pulled in 2 guys who specialize in C#. I used to be a C++/C# guy before converting to VB.NET for this company.

So, to everyone who has to deal with this whether on a hiring basis or a maintainability basis: how do you handle standardizing languages of choice going forward? I'm inclined to make a push for C#, as that'll make 3 solid C# developers here. But just curious what everyone's thoughts on this are.

View 12 Replies

How To Develop A VB Compiler

Mar 14, 2011

I am underway to develop a VB.Net compiler using visual studio 2005, but so far I am not aware on how to go about, regarding to what are the key requirements or skills required for developing a compiler.

View 3 Replies

How To Develop Plugin

Dec 15, 2010

i need to develop a plugin to evaluate web interfaces. Can someone guide me about how to develop plugin in vb 2008 express.

View 4 Replies

VS 02/03 Develop Under NET 1.1 And Run On Windows 7 (x64)?

Jan 20, 2010

I develop an VB application unter XP with VS 2003 (.NET 1.1).

Is it possible to run it on a system with Windows 7 (x64) or do i have to change my programming environment ???

The code itself is in a directory on a windwos server and the workstation has only
a link to the EXE-file server01programsigiksigik.exe. until VISTA, it worked, if i call .net configuration wizard and give "full trust" to "intranet".

can i install .net on a pc with windows 7 ?

View 3 Replies

.net - Develop Accumulator Codes?

Nov 7, 2009

This is for vb.net I've been working to develop a system which involves computation.What I've been trying to develop in my program is, I have a textbox where user will enter a numeric value,there is a button and a label below and in the first place the label should be set to zero. Everytime you enter a numeric value in the textbox and click the button it should add the value in the label and should save the value in the label so even if you exit the program whatever the last value displayed in the label should remain the same when run the program again,I believe it requires a database to save the value.Basically its like with payment system which saves the total amount of all payments made.

This is how should it works,say for example,if you will enter 1,2,3 it should save the sum value which is 6 in the label even if you close the program and when you run it again and enter another value it should add to the current value which is 6.

View 3 Replies

Begin To Develop EDI 837 Professional?

Feb 2, 2011

I want to develop an EDI 837 Professional project and I don't understand from where to start. If anybody knows about this & have worked on it then please help me & give me advice where do I start from ?

View 1 Replies

Compile A Develop Software?

Jul 25, 2009

I have a problem when trying to compile a develop software. I get this registration error.

View 6 Replies

Develop .net Apps In Ubuntu?

Mar 27, 2012

i need to change my OS to Ubuntu.i can develop .net apps in ubuntu.

View 2 Replies

Develop A GUI Chess Game?

Sep 18, 2009

I am a VB.Net programmer and i want to develop a GUI chess game(computer vs human begin and human begin vs human begin)with 3D ChessPieces in VB.Net 2008 as my final year project in school.

View 2 Replies

Develop A Barcode Generator?

Sep 19, 2009

How to develop a barcode generator and able to print it out? Google so long but unable to find any sample to do it.

View 2 Replies

Develop A Chatt Like Msn / Yahoo. In Net?

Feb 7, 2009

im luking for sumbdy who can develop me a chatt like msn / yahoo. in vb net.Functions:

[Code]...

View 18 Replies

Develop A Method / Function

Jun 6, 2011

Need some help to develop a method/function. No problem if there is no code but I would like to start discussing the best way of doing this even in high level language. First of all would like to provide you with some information. The set that I use here is very small, but the data is on a table in mysql and there will be over a million rows. Its important because if I make a complex loop code, maybe there will be a lot of selects in there.[code]

View 9 Replies

Develop A Network Application?

Dec 30, 2009

I want to develop an accounting software for a mini Super-Store, this program will be able to run on a network with a central database; in other words a network application. I have not used sql sever before neither have I written any application that will run on a network.

View 7 Replies







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