I am using vb.net 2010 with access 2007. everything works fine in XP, but when I switched over to windows 7 I did not proper result some queries here is my query: Select * FROM tblname WHERE fordt=#13-12-2010#It shows result in access as well as as in form.I get value from form in MM/dd/yyyy fo
I am using vb.net 2010 with access 2007. everything works fine in XP, but when I switched over to windows 7 I did not proper result some queries here is my query: Select * FROM tblname WHERE fordt=#13-12-2010#
I am currently having a headache on how to solve this problem that i am facing. here is the situation: I have a combobox and a list box on the main form. The combobox will get the data from the ms access database. In the database, i have the details of a person's IC, Name and DOB say for eg on one entry I have D215311523C,SHAWN,13/04/1987 So now, my combobox on form load will show the list of dates in the database to allow the user to search base on the date itself by clicking on the selected date. So when the user clicks on the particular date say 13/04/1987, people in the database whose birthday is 13/04/1987 will be shown on the listbox.Meaning to say if i have 3 entries whose dates are the same 13/04/1987, 3 entries will appear. If there is only two entry, then two results will be shown. But now, when i do a single click on the date, one result will be shown. That is correct. But the problem is when i click on the same date again, three of the same results will be shown on the list box. that is it will display : 13/04/1987 13/04/1987 13/04/1987 which is not the case. Then it will show more duplicates of the same results if i click more times on the same date which should not be the case.
Dim n As Integer Dim numbers() As Integer Dim StartFrom As Integer Dim EndAt As Integer
I am using a datagrid in my where i am having four columns. In first column the parameter values are entered and in the second column measured value is entered and in third column the nominal value is entered.Inthe fourth column the result is displayed by subtracting the measured value and nominal values. I am doing this calculation in Datagrid cell validated event. What i want is,there will be many rows in the grid,when typing the value in the third column the corresponding result will be displayedin the rowof theresult column,save button will be displayed while the form loads,when the calculate part is completed that is there should not any cell of the resut column empty then i should enable the save butto.
I am encountering the following issue So i have a device that sends stuff at the serial port, i then parse it and put it into an array of bytes like that:
Dim HCI_Command_Rcvd_Byte() As Byte All good till here What i wanna do is make an array and put this result every time the serial port gives me a new result, for example:
[Code]...
Basically what i wanna do is let the port parse the messages, fill in the array with the result at an empty spot in this array and then i will have a separate thread that will look in into this array in each non empty space and after it looks into the non empty space it will use or discard the info and also mark this space as empty (after it checked)
If I run into a problem or if I find that I don't fully understand a section of code I go online and search for the information I need. Which is usually quite easy.Ive made a simple chat program using the TCPlistner and TCPclient that can be found on msdn.
[URL]
In the only problem similar to mine that I was able to find the person was given the advice to change 'AnyCPU' to 'x86' in projects/properties/compile/advanced compile options. I tired doing this but was unable to find any setting that I could change to 'x86'.
I have an application that I built in VB.Net 2008 on Windows XP for Any CPU that I would like to run on Windows 7 64bit. Is this possible from Windows XP or do I need to compile and develope on Windows 7 64bit for it to work?
I have a app in VB 6.0 that uses the control FTPclient.ocx. It works fine in windows XP. When I try to register the OCX in Windows 7 , I can't register this OCX.
P.S - I use Regsvr32 pathOCX... to register the OCX
I can not register this OCX but can register other OCX with the same command..
I have a problem with displaying output in listview in windows7. I am populating listview colum using OleDbDataReader from database which has value in string as "1,2,4,6,8,9,10" etc. But when I displays it in listview it appears as "10,9,8,6,4,2,1" i.e in opposite order but only in windows 7 not in XP.
I received "method '~' of object '~' failed" error while my VB6 program trying to bind data from database to my Janus GridEX component. This happen to my client's pc running on Windows7 Home Premium with MDAC6.1. I do not have this problem in my Windows7 Professional with MDAC6.1. Search through the web and most of experts suggest it might be caused by MDAC.how to reinstall / repair MDAC6.1?
We paid to have a program built as an add in to SolidWorks. I believe it was written with VB6 and now does not work on the newer 64 bit OS. Now the programmer wants an exorbinant (sp?) amount of money to update to work with the 64 bit. Is he legit or just trying to make more cash?
I have had a problem with my program not working on a windows 7 machines so i finally built a box with Windows7 to test it. It seems the Schema.ini file is not being created.If I manually place the schema.ini file in the directory my program runs fine any ideas on why the file is not created on a Windows7 machine but is created on XP
schema ini code Dim safeFileName As String = IO.Path.GetFileName(Me.OpenFileDialog1.FileName) Dim fs As New FileStream("Schema.ini", FileMode.Create, FileAccess.Write)
I'have this litle piece of code which worked nice under windows XP and Windows Vista but won't do a thing under Windows7.
I use it to store link adresses to apllications I wish to hoock up to. Basicly I first select a apllication with a "Open File Dialog" and then create a folder on a specified location wherin I create a txt.file to which I write the adress. So far so good. But Windows7 just doesn't let me create a folder
Imports System Imports System.IO Imports System.Text
I just read about DataSet in VB.NET, it uses disconnected concept. My question is: if my apps has "List All" button that query data from 1 table in the database, and that table has "very very very" many rows, so my DataSet will be filled with those data and eat up memory. Can I limit the data that being put to the DataSet from that query? But I want to be able to retrieve the next data from the same query if the user want to see it?
For example: I have 1000 rows in my database, and i query all of them. But I just want 200 rows being inserted to my DataSet, but if the user want to see rows number 201 and so on, I want to be able to retrieve the next 200 rows, and so on. So it just like cutting those data into a group of 200 rows. Can I do this with the concept of "disconnected" of the DataSet?
I am setting attributes for SmtpClient in program. It works fine in windowsxp but in windows7, it does not work every time. Some time it works and some time fails with failure message. Is there any known issue with SmtpClient in windows 7?
I am the owner of the directory I am running an executable in VS and I have the following error: 'Access to the path "'c:usersenee' is denied.' The OS is Windows 7 and I have the UAC turned off.
I normally install my application in a directory in the c: drive as the software is only used within the company.There is some simple security; the program writes a 'bat' file that gets the volume serial number this then this is used to generate a licence file. Both of these files are written in the application directory.I'm giving the program to an external client and am going to install the program in the program files directory - but I find I cannot write a file to the Windows 7 program files directory.
We have a situation wherein we need maximum uptime for database connectivity which is on our LAN. However, we would like to connect to the server also in the event that the LAN is down. We have option of doing this [switch to dial-up from LAN] automatically using code or manually an operator can do so. The problem is to determine if the current connection is whether on a LAN or Dial-up?
i am using an activex control in my website. it was working fine till we tested it in (win7 + word2010) configuration.I am getting below error when i am testing activeX control in win7 + word2010 configuration.
I am having a textbox control in my activeX control. when i removed it it started working fine for me in the win7 + word2010 configuration also. If i am putting it again, i am seeing the above error.
I have windows7 home premium 64bit edittion, I use VB6 and VS2008. I recently install Win7 SP1 in my machine but after installing the SP1 my old VB6 application is working fine in my pc but compiled exe files are not working in other windows XP machine, then I uninstall WIndows7 Sp1 from my PC and again compile the old vb6 application, now i notice that this exe is working file in all other pc. is there any way to use win7 sp1 with vb6 ??
I have an installer class that presents a form to the user. One of the functions of the form is to browse to a file using the open file dialog. This form functions fine when used in an application but hangs when calling OpenFileDialog.ShowDialog() during an installation on a Windows7 or Vista machine (Windows XP it works as expected). I get the same rusult when 'run as administrator' and with UAC off. I also get the same results when calling SaveFileDialog.ShowDialog() in the same context. The call doesn't throw an exception but causes the form to stop responding. Any suggestions on how to get this to work correctly?
I've been doing some more experiments and have summarized the query as below: I've created the simplest application. A project with a plain form, which writes text file within its application directory. Simple as that.Supposing this was my application which I want to distribute on the world web. I've created a basic installer for this using NSIS installer. The Installer installs my application in a folder created inside Program Files. The OS is Windows7 and UAC is enabled.Now I know many people have been facing difficulties in accessing files inside the Program Files folder. My app is simply creating a plain text file, nothing more, and within its own application directory. It is giving Access Denied error. But if I right-click on the EXE and run it as Administrator, then it works ok.The only solution thats available is not to write in the application folder, and write text file in some other folder which is not protected. My question is that other programs that are installed on my system are also doing it. I have a temperature monitoring software called SpeedFan on my system, it creates log files within its app directory. All other softwares create log files within their app directories, why cant I?I just have to make a small log file for my application and Win7+UAC is not letting me do it. I don't want to write the small file in any other folder. How are the other softwares accomplishing this ?
I have VB.NET Window based project built on .NET 3.5 Framework that is working on the Windows7 32 bit System but when I try to run this same application in Windows7 64 bit System it gives an error message: "System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"