|
I dont believe that the client calling this service is using .NET. I actually do let the WS do the work for me currently. I believe the client is not that picky and will work with what they get so I may be able to build a class structure that holds all of the values and see how that works when I return it.
Cleako
|
|
|
|
|
Hi all,
Can anyone please tell me what is the difference between Setup.exe file and Setup.msi file which is created for deploying the exe on target machine.
|
|
|
|
|
A .exe (Executable file), is used to execute any program and can be used to install software. A .msi file (Microsoft Scriptable Installer) file, is usually used to install Microsoft components.
.Exe files are the most commonly used.
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
I need to know how to add files to the Application Files List in publish section of a project in VB 2005 Express Edition, specifically a database file. The file is in the resource section but i need it to show up in the application files list.
i dont need to add it to the resource file i need to add it to the Application file list so that i can deem it a data file and the program will place the file in the correct place to be accessed by the program otherwise when i install the program it looks for the database and cannot find it, then errors out and shuts down the program. Unless anyone knows a different way to tell the installer to copy that database file to the correct path?
|
|
|
|
|
What installer are you using ? I can put any file I want, anywhere I want with every installer program I've ever used.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
windows installer 3.1 i guess, i mean i am using the options provided by the VB 2005 Express Edition
should i be using the a third party installer
-- modified at 15:21 Wednesday 10th January, 2007
|
|
|
|
|
You're going to have to modify your code so you can find the database if you're going to deploy your app using ClickOnce (or Publish) deployment. This is because your database file (.MDB) is going to end up in a different folder than your app's .EXE.
You'll have to modify the code so you can specify the FULLY QUALIFIED PATH to the .MDB file when you build your connection string to open the database. Details can be found here[^].
But, you just add your MDB file to your apps project to make it a part of the installation. ClickOnce will automatically put it in your apps Data folder when it's deployed on the client machines.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
what do you mean by add because it is in the resource file and the program runs off the database in the IDE.
|
|
|
|
|
Don't put it in the resource file. Use the .MDB file right off the drive. You can't use an Access database that's stored in resources anyway because you can't get write access to it. It MUST be accessed from a file on a Read/Write media.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
He's using ClickOnce Deployment. IMHO, a nasty little can of worms.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi
I am using a Data Grid control to retrieve data from the data base using a data table object. I need to add new records into the Data Base through this Data Grid while it is running, what should I do after I create a new record on the data grid.
Dim ds As New DataSet
Dim empdtbl As DataTable
empdtbl = dbLogic.GetLookUp("select USER_INDEX, USER_NAME, USER_PASSWORD, EMAIL_ADDRESS FROM DB_USERS", "USERS").Tables(0).Copy
ds.Tables.Add(empdtbl)
Me.DataGrid1.DataSource = ds.Tables(0)
note: dbLogic.GetLookUp is a method that is in dblogic object wheich contains the connection properties.
|
|
|
|
|
Don't add items to the grid, add them to the database and repopulate. Or, add them to the database AND the grid, which is quicker, but disconnects what you see from the DB ( in that you don't verify that it's gone in )
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I am trying to Retrieve information from an access database to a drop down combo box. So if i need to do any updates I can do it from the database. The goal is whenever I select from the combo box I want to have that item placed in the mail.subject property so I can email my choice. My problem is I am getting a system.data.datarowview in my subject heading when I send the email instead of my selected item. Do anyone know how to fix this problem.
|
|
|
|
|
To get the value you can do this:
CType(combobox.SelectedValue, system.Data.DataRowView)(0).ToString
|
|
|
|
|
How do I receive a TYPE as a function's/sub's parameter in VB.Net?
I dont know how else to explain this, an example of a TYPE would be MyTableDataTable, this is a class which is dynamically created by the VS2005 EDI in myDataSet.Designer.vb.
you can't forget something you never knew...
"Watching Migthy Joe Young made me hate my life..................................I want a gorilla!" A. Havemann
|
|
|
|
|
Just use the data type Type . This is a class that contains information about a data type.
You get an instance of the Type class for the MyTableDataTable class by calling the MyTableDataTable.GetType() method.
---
Year happy = new Year(2007);
|
|
|
|
|
i created a project to save the details of employee id and their detials in a database with an extra column in table of the database to save the photos of the employees. I have also assigned the column as photo on the table definition.
Now when i run the program and when i load the image in the picture box it give me error as " External Exception was unhandled" . generic error occurred in GDI+
please help me to locate this problem and get the solution
J.D.
|
|
|
|
|
Why don't you post a related code snippet?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
I think, you should use ReadStream or WriteStream to read and write picture such as with the image field you use ReadStream to read image on the database after that you set the picturebox=ReadStream, OK!
good luck
|
|
|
|
|
Hi JD
please add the following in ur code for displaying
PictureBoxName.Image=image.Fromfile(myreader("Path"))
PictureBoxName.ClientSize= New Size(x,y)
Run it see The Changes
ok
job
|
|
|
|
|
Hi all,
I am developing application in which I have 1 mdi parent and 2 child forms.
Dim chatWindow As New ChatWindow
chatWindow.MdiParent = Me
chatWindow.Show()
chatWindow.Focus()
chatWindow.BringToFront()
but chatwindow form is not come on screen it just give one flash effect when I click on chat window menu.
Why this so ...please help me.
Regards,
NAgraj
|
|
|
|
|
Hi
I am using TableAdapters in my middle layer. Now I want to hide them from my UI code. The IDE offers only 2 possible access specifiers - Public and Friend. When I set the access specifier to Friend, the compiler complains that the methods in the table adapter generated code that return a strongly typed data table cannot be exposed. The error is as follows:
********** Error start ************
Error 21 'GetConfigDetails' cannot expose type 'Vigi.DTSysConfigDataTable' outside the project through class 'DTSysConfigTableAdapter'.
********** Error end ************
where GetConfigDetails is the method in the generated code and DTSysConfigTableAdapter is the tableadapter class generated by the IDE.
The strongly typed dataset and the class that is calling it both reside in the same project (hence assembly, I assume) I am returning only the class object from the middle tier.
Any idea how I can hide the dataset(with tableadapters) from the outside world and not get these types of errors?
Shreekar
|
|
|
|
|
hi everybody,
please help me ............ I want to develope an application on my pc (database stored on server) using mysql & vb.net(Winforms).....im new in .net so anybody tell me wht should i do or give me some sample code pls its urgent.
priya
|
|
|
|
|
http://dev.mysql.com/tech-resources/articles/dotnet/
solidIT.de - under construction
Components for Microsoft .Net
audittrail, objectcomparer, deepcopy and much more ...
|
|
|
|
|
Hi
I've tried to search for code or tutorial that shows how to make a file menu in vb express 2005.
Does anybody know where or how I can find it? I basically just need a file option at the top of the page with an open file (letting the user choose a file from the computer) and close (closing the system).
(just like the ones you see of MS word, excel etc.)
Also I would like to make my file executable so that it can run on any other computer even though they do not have vb express 2005 installed.
Thanks in advance.
Jaidev
|
|
|
|