Answer Questions
Ming Yang simple arithmetic problem
I am an absolute beginner and have been requested develope a programme which gives the time in hours and minutes to cook meat by weight. I have sucessfully done this for all weights but am stuck if the weight is only one kilo up to and less than 2 kilos. If the weight is one kilo then the time is 30 minutes, which shows as 30 hours and in the kilo slot! i.e. If Kilo < 2 then Kilo = (Kilo * 1000\ 33.33) Else: Kilo = (Kilo * 1000\ ...Show All
Jorge Carbwood Passing a string to Consoleapplication.exe in cmd
I want to be able to pass a string along with the ConsoleApplication1.exe from the command line. Some thing like this ConsoleApplication1.exe "absdefgh ijklmn" so instead of typing ConsoleApplication1.exe then hit Enter to input the string I am trying to pass a string directly to the console application but it's giving me an error I am not sure if this is how I pass it Module Module1 ... ...Show All
Peter_ Reading the Propertys of an Word-doc in VB
Hii :) I wanna list all Word Documents in a directory, with author, title and so on.. so how could i read this data out of word-documents in visual basic ok, i will play around with this :) thank you! There is a COM component called Dsofile.dll that will enable you to read document properties from Office documents. ...Show All
Arex Exe will not run on network drive
When I try to run a VB.net program I wrote from a Network drive, it receives this error: 'WindowsApplication1 has encountered a problem and needs to close. We are sorry for the inconvenience.'. If I move the exe anywhere on my local machine then it runs fine. Now I have admin rights to the network drive and folders. Any ideas thanks, Dean I tired goving full trust to the local Intranet and I s ...Show All
ivenk deleting from database
i got a button called delete and when i enter in a order id (shown in the pic) and click on delete it goes into the database find the id and the row of information and deletes it, i want some information on how i can this can be done idea anyone please Click on Mark as Answer next to the post that fixed the issue so that the newsgroup builds a good KB. Your question and its answer could help someone in the future. copy the ...Show All
Thierry123 Microsoft.Office.Interop Error
I have a VB program which involves opening Excel files. To do this I had to add the Microsoft Excel Object Library to my projects' references. There was no problem here until a friend tried to run my project on his computer. The application would start, however once a command to open an excel file was selected, the following error was displayed: Unhandeled exception has occured in your application. Could not load file or assembley 'Microsoft. ...Show All
Torben Christensen Business\data layer
Hi there, I need to create application in vb.net that demonstrat a good data layer and business layer. I using VS2005. I have a Client table with ID ,First and Last name. I need to create 3 different project in one solution. first project need to be the Data layer (functions to get\set dataset\table adapter ) second project need to be the business layer (container of the Clients class ) third project is a form that need to ...Show All
BushGates reading text from a document and displaying it
I have TextBox1 (to enter what you want to search), TextBox2 (to display the results), and Button1 (when you press it, it does the whole process thing). I was given this to go by: ================================================================== Theres a couple of steps in a possible approach here. One is to be able to read the contents of a file. If your using VB Express / 2 ...Show All
James.Zhang - MSFT Windows Positioning on distributed software
I noticed that when I complie an application and distribute it to my fans (My Family :) That the windows display differently depending upon the screen resolution of the client computer. Is there a property besides the center property of the form that I can use to assure that the program will look the same on all computers. A third party add-on, or something I'm over looking in the property settings of the form. Thanks in advanc ...Show All
Tony_Rodriguez RegEx Question: Match whole word from substring
Hello, I want to search a buffer using a search pattern and return whole words that contain the search pattern . Here's a sample Buffer: "CADLOG cat red green NAR_LOG bus stay logroll house mouse fur log crutch" Here's my search string: log I would like this to return matches: CADLOG, NAR_LOG, logroll, log Using System.Text.RegularExpressions I can match the substring within words, but I can't seem to return a whole word. Can someon ...Show All
Phillip Franklin Tree view help
I'm a novice with VB. to create something like what you would find in outlooks side bar. Where all my data would be listed in the treeNode and all i have to do is click it to open in a Data Grid if possible. Can you help me please. Also i don't have a clue how the send information the a Form window using the MdiParent to miChild. can you help with that as well. Thank you very much.. visit http://vbforums.com ...Show All
Allen L data to array or dataset????
I have a win form (visual basic) with a datagridview I fill the datagridview with the query filltoday Query filltoday SELECT dbo.T_Employee.FirstName + " " + dbo.T_Employee.Name AS "Full name", dbo.T_TimeRegistration.EmpId, dbo.T_MachGrp.Description, dbo.T_TimeRegistration.StartTime, dbo.T_TimeRegistration.EndTime FROM dbo.T_MachGrp, dbo.T_ProdBillOfOper, dbo.T_ShopDoc ...Show All
JRH147 Cannot open existing form in Designer HELP! - VB 2005 Express Edition Beta
This is so aggravating because I'm sure it's a simple thing! Using the new Visual Basic 2005 Express Edition Beta. Created a project, form, controls, etc. Worked great. Love it, compiled perfectly. Saved everything, closed the program, went to bed. Woke up, opened the project, but now CAN NOT open the form (form1.vb) in Designer mode!! I can open the code, it's all there, exactly as I left it, but can ...Show All
AMMPCP Problems with the compiler?
Someimes my compiler report error in my .Resources.resources file when compiling. To fix this all I have to do is close the project then delete the 'bin' and 'obj' folder in my program solution folder. But, it eventually messes up again. Also, sometimes my compiler will cause an error and have to close. I think it may have something to do with my resources. I have about 128 MegaBytes of resources. Could it be because the size is so much None ...Show All
Smartphone Newb dataset.haschanges
Always returns False. My situation. I cannot use DataAdapter.fill (too long of a story, lets just say that i cannot). I have a store procedure (spA) retrun a datatable (dtA). I add the datatable(dtB = dtA.copy) to a dataset(dsA). I have a datagrid(dgA) who has its source equal to the dataset(dsA).datatable(dtB). so now i have the datatable(dtB) displayed on my grid(dgA). I want to see what changes if any the user makes to the ...Show All
