Pgmer 50 Master Poster Featured Poster

what u mean by Automatically ? There is no any user interface? In which event u want this to happen?

Pgmer 50 Master Poster Featured Poster

Process.Start("explorer.exe", Filepath)

Can you try something like this? filepath is the location of file which u have in listbox..

Pgmer 50 Master Poster Featured Poster

You can read out the file names into listbox but not sure windows app supports file location as hyperlink

Pgmer 50 Master Poster Featured Poster

Is your datacolumn which is having the date is of format now.date.tostring()??

Pgmer 50 Master Poster Featured Poster

What is the problem with this code? Its not renaming?

Pgmer 50 Master Poster Featured Poster

Can you try playing your video or audio manually inc lient machine with VLC ? How ur refering to ur audio/Vedio file in application? What is the error message in user system?

Pgmer 50 Master Poster Featured Poster

you can add the player as Prerequiste to your application, So that when application being installed in client machine it will look for the player if does not exist install the player. Same as installing the framework.

Pgmer 50 Master Poster Featured Poster

Select MAX(ID) From Table

Pgmer 50 Master Poster Featured Poster

Yes socketing could be one of the sollution but im not sure how.
Dear waqasaslammmeo publishing application is not just building the exe files. It includes all the necessary files for the application which can be placed in the server so that when user clicks on exe it will look for updates and gets it and much more

Pgmer 50 Master Poster Featured Poster

If ur using the database then you can save the data in Db and read from DB in 2nd application and show. Application can be published as many times as you want, Changing the version number.

Pgmer 50 Master Poster Featured Poster

within the application or Cross application data transfer?

Pgmer 50 Master Poster Featured Poster

within the forms u can Do it. do u want to Show the data of application 1 in application 2?

Pgmer 50 Master Poster Featured Poster

or else in front end before assigning to grid u can use IIF( function) if ur doing looing. but its nice and good to handle in SQL server.

Pgmer 50 Master Poster Featured Poster

U need to create the Service account i guess. Which can be passed as user name and password from ur application so that all the user in LAN will have access to server.
or Pass the credentials to server i.e: User name and password

Pgmer 50 Master Poster Featured Poster

Go to the project properties under that u could see Publish click on it. u could see button called Prereqisites click on it. u can choose the framework from there and see other options as well.

poojavb commented: its helped a lot.... +3
Pgmer 50 Master Poster Featured Poster

If chodbob2 and 3 are in class 'AirplaneAirplane' then u need to instantaite the class like Dim objtest as new 'AirplaneAirplane'
objtest.chodbob2.text="Blah blah"
objtest.chodbob3.text="Blah blah"
IF chodbob 2 and 3 are control names within the form where ur assigning the text, then u need to open the designer and check for its code. It should be
Friend with Event chodbob2 as combobox
Friend with Event chodbob3 as combobox
If exist then try replacing Friend with public. This should work

Pgmer 50 Master Poster Featured Poster

I have understood ur problem. It was my suggetion to have published setup files server to so its easy to maintain. However u can add the framework in Prerequisites. So it will check for the framework version and installs.

Pgmer 50 Master Poster Featured Poster

U have opened the same thread mupltiple times i guess.. Where u have declared 'instdID' ? What is the scope of variable? Is 'AirplaneAirplane' is class? and chodbob2 and 3 are member of class ? are they public? or they are control names within the form?

Pgmer 50 Master Poster Featured Poster

'AirplaneAirplane' is class? and 'chodob2' and 'chodob3' are member of class? and declared as public? Check ur desiner code.

Pgmer 50 Master Poster Featured Poster

Please explain the problem and where in above code..

Pgmer 50 Master Poster Featured Poster

And also make sure that u have passed the correct credential for server.

Pgmer 50 Master Poster Featured Poster

I am not sure how ur Handling application for all clients. If application users are more in number its allways good to publish the application and place in server. However in ur case go to publish wizard select preRequisites and add ur framework so it will get placed in debug folder when u build the ap and it will refer from root path.

Pgmer 50 Master Poster Featured Poster

In designer of the code check for Friend WithEvents dgvData as Datagridview. it should be there if not add. Or if its there then make it public
PUBLIC WithEvents dgvData as Datagridview

Pgmer 50 Master Poster Featured Poster

Are you using any packging tools or ur using Publish wizard in visual studio?.

Pgmer 50 Master Poster Featured Poster

What is ur way of deployement?

Pgmer 50 Master Poster Featured Poster

U can assign shot cut keys to the tabs and use Keys.send event to fire then u can select the tab.

Pgmer 50 Master Poster Featured Poster

No0 need to mention Me.dgvData U can just say dgvData. And moreover what is the problem ur facing?

Pgmer 50 Master Poster Featured Poster

For the same application multiple users log in? Are u capturing any details of the user in to data base? like user name, login time and log out time?

Pgmer 50 Master Poster Featured Poster

in the DOctormaster table I have the ID field as the primary key and datatype as text....

Data type u mentioned is of varchar which i said not preferable.

Pgmer 50 Master Poster Featured Poster

But i prefer to have primary key as integer not as text or varchar. indexing will be done on primary key if it is text performance will go down. U can have one more column in whci u can save the data Doc1,Doc2 etc..

Pgmer 50 Master Poster Featured Poster

Make ur database files as folder and add in ur application and make that folder as copyloacl=true. So whenever u build the app ur database files will go sits in ur bin\debug folder. In ur application u can refer to these files using application.startuppath

Pgmer 50 Master Poster Featured Poster

Get the MAX(ID) from table and then append 0000 to it and show.

Pgmer 50 Master Poster Featured Poster

Codeorder Thanks for ur detail code. :)
I just gave code to retrive the cell value of Column status at each row. So docgrid can put his efforts to get complete working code.. :)

Pgmer 50 Master Poster Featured Poster
Dim stringtotest As String = ""
        For i As Integer = 0 To DataGridView1.Rows.Count - 1
            stringtotest = DataGridView1.Item("Status", i).ToString

            MsgBox(stringtotest)

        Next
Pgmer 50 Master Poster Featured Poster

First you need to get all the requirements. What you and ur application want to do. Search in net or get the domain knowledge from any who are in that domain.

Pgmer 50 Master Poster Featured Poster

What is ur actual need? U want to keep checking for file exist or not all the time ur application is running?

Pgmer 50 Master Poster Featured Poster

U need to write a query to ur database passing the user name and authetincate wheter its a valid user name if yes then u need to check for the password. If both are correct and valid then return True from Query and allow the user to log in.

Pgmer 50 Master Poster Featured Poster

try generating random number in vb.net and use them and make sure its unique all the time..
Declare this at form level

Dim objRandom As New System.Random( _
   CType(System.DateTime.Now.Ticks Mod System.Int32.MaxValue, Integer))
Public Function GetRandomNumber( _
    Optional ByVal Low As Integer = 1, _
    Optional ByVal High As Integer = 100) As Integer
        ' Returns a random number,
        ' between the optional Low and High parameters
        Return objRandom.Next(Low, High + 1)
    End Function
Pgmer 50 Master Poster Featured Poster

Check what parameters it accepts and pass accordingly..

Pgmer 50 Master Poster Featured Poster

Which DB ur using?
this syntax Select ISNULL(MAX(Column),'0') from Table Where ur condition is working good for me..in SQL

Pgmer 50 Master Poster Featured Poster

Select ISNULL(MAX(Column),'0') from Table Where ur condition

Pgmer 50 Master Poster Featured Poster

Make the primary key in table for Enquiry and order table.with autoincrement as 1. I am not sure how to do this in MS access DB. while showing allways u can append some fixed text and u can save that in another column of table.

Pgmer 50 Master Poster Featured Poster

The new ASP application u designed is having code behind files as vb.net or c#? If vb.net is ur option u need not to convert any code. u can use the code which u wrote for windows app.

Pgmer 50 Master Poster Featured Poster

Is ur class public? formCustomers?
If yes then u should be able to access its behaviours.

Pgmer 50 Master Poster Featured Poster

You need to create object of that form first before accessing its controls.

Pgmer 50 Master Poster Featured Poster

The items in database from where ur getting the list is having primary key associated? Then bind the dataset using Displaymember and valuemebmer first.

Pgmer 50 Master Poster Featured Poster

Then based on the selected item u need to run a query to get the corresponding price and who it on textbox

Pgmer 50 Master Poster Featured Poster

user will delete the files from system using ur Application? or if u just want to record the application events then write a class file with public function and use that function to log in all the events

Pgmer 50 Master Poster Featured Poster

better have the logs in database table.

Pgmer 50 Master Poster Featured Poster

You need to do application.exit() if u want to triminate entire application in the main form close event..