Software Couldn't Work On Other PC
Aug 29, 2009
i want that i have made one software using vb.net and i want that other person cant access it. i mean that my software couldn't work on other PC.so i want to implement serial key. so if some one has that key then h can access my software.i want to do like that so give coding to do that
View 2 Replies
ADVERTISEMENT
Jul 7, 2011
I run the same exe file on another computer, but it gives error.The application works on my pc, but does not work on user's pc.I try to compile the app in other development machine and it is work well, the problem is my app doesn't work on user's pc.
Could not load file or assembly 'CrystalDecision.Shared, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
[code].....
View 5 Replies
May 17, 2012
I am trying to display the data I've retrieved from a text file on the datagridview. But I can only display the first set of information on the datagridview. There are 2 set of information.
Private Sub DoDetection()
ListStatus.Rows.Clear()
'listHistory.Rows.Clear()
[Code]......
View 7 Replies
May 26, 2009
I have a web application in .Net in which I use Ajax controls in some pages. Those pages are working in localhost, but when hosted, the pages in which Ajax included shows following error.
Server Error in '/Allforkids' Application.
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[Code].....
View 3 Replies
Mar 28, 2009
I have called a script in my .net code which creates a .csv file and writes into it. The file is created and the program is executed without errors but the created file has nothing written into it. I'm able to create and write into the file from .net. Also, when the script is run separetly writes into the file correctly but not when it is called from .net. what could be the reason...
View 2 Replies
Sep 2, 2009
currently im stuck at the part where user enter data through form and form pass it to database.but it is just not working.there is a patient database with id,nric,name ,dob,address,telephone, dateofregister fields.Can anyone help me to point out where i did mistake in this coding?
Imports System.Data Imports System.Data.SqlClient
Public Class Addpatient
Dim da As New SqlDataAdapter
[code].....
View 4 Replies
Mar 11, 2009
I couldn't find any taskbar button in the toolbar.Usually, when i minimize a button, it will be minimized to the toolbar and once you click the taskbar button, it can be enlarged.however, i couldn't find any taskbar button.Please could you raise some suggestions?any way of resolution without coding?
View 1 Replies
Mar 20, 2009
Option Strict Off
Option Explicit On
Module ModGlobal
[Code].....
End ModuleI am getting this warning s when i upgrade from VB 6 to VB.NET .,I am verz new to this Visual Basic .
View 1 Replies
Feb 2, 2012
private
void bindingNavigatorDeleteItem_Click(object
sender, EventArgs e)
{
[Code]....
code does not make chages to database when i reopen the application the records exists as earlier.
View 1 Replies
Jun 13, 2011
I've tried google a way to sort a table but couldn't get my code working.My program lets the user input enter information such as first name and last name in textboxes, once done they click on update button(so far everything works).On the top right of the form it has a Combobox and it displays a list of all the names of poeple the User inputed... but it shows it in the order the user inputed.I want to have a sort button so that way when the user clicks on "sort" it will alphabetically sort the msql table by last name and reupdate that on the Combobox (most importantly save msql with the new order of names)
View 9 Replies
Dec 2, 2011
I am trying to connect a Ms Access 2003 file (dbSesi12.mdb) through OLEBD,
Public Class KoneksiDB
Public Connect As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:dbSesi12.mdb;JetOLEDB:Database Password=; ")
Public Function open() As OleDbConnection
Connect.Open()
[code]....
View 5 Replies
Nov 23, 2011
I am developing application using VB 2010 in v studio 2010 environment running win 7 home. I am using nwind.mdb ms access db which is sitting in c:xyzlocaldata folder and is linked with application, i can run query and retrieve/preview data with no problem. When i run application, i get run time error >>Could not find file C:xyzlocaldatainx86Debugwind.mdb. I copied a copy of access db to this folder, i don't get error message. However fly time transaction data are updated in access db sitting underC:xyzlocaldatainx86Debugind.mdb folder not under c:xyzlocaldata folder.I have all reports and queries linked to access db sitting under c:xyzlocaldata folder, process transactions are not reflected in this folder access db.Transactions are updated
View 2 Replies
Feb 24, 2012
I have got a problem with the regex pattern. I couldn't be able to extract the id in the images tags from the html source when I find the matches pattern that I selected on the listview items. [code] It have found the matches with the html tags, but it doesn't extract the id from the images tags. [code] Do anyone know how I can extract the id in the images tags from the html source?
View 15 Replies
Mar 26, 2009
vUPGRADE_WARNING: Couldn't resolve default property of object vNewValue.
View 1 Replies
May 25, 2010
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Month_index, days, yearp As Integer
Month_index = DateTimePicker1.Value.Month
[code]....
i can get the Clc month and day perfectly for year 2011, but when i goes to year 2011 it just appears as 0.my dates in Months.txt is saved as so
2010|2|14|30|29|30|29|30|29|29|30|29|30|29|30
2011|2|3|30|29|30|30|29|30|29|29|30|29|30|29
2012|1|23|30|29|30|30|29|30|29|30|29|30|29
View 1 Replies
Dec 26, 2010
I'm trying to make this example (translated to VB) and i'm getting an error when i try to view in browser [URL] I have uploaded it to Skydrive
[Code]....
View 5 Replies
Sep 8, 2011
I want to get the process in a remote system using vb.net for that i have use getProcess() method. when i am trying to execute the code it is showing an error like "Couldn't connect to remote machine" .i know there should have certain privilege to use this.but i don't know how to set the privileges and what all are it.
View 1 Replies
May 29, 2012
I found that when group by multiple values does not work well with VB.NET, but it works well with C# ,here are my code, is there something wrong with my VB.NET Code? Here is my VB.NET code:
[Code]...
View 1 Replies
Feb 2, 2011
I have an application that requires data be entered, and after entering, a button is clicked to process that data. Clicking the button works just as it should--the data is processed properly. In constructing a test module, I provide a set of data values, followed by:
btnWhatever.PerformClick()
Nothing happens. I have used this syntax for years, and it has always worked flawlessly. I have triple checked everything else and isolated the problem to the failure of the PerformClick(). The PerformClick() is in a test subroutine that does nothing but fill textboxes and labels with default data, then calls the PerformClick() on the button to begin processing. Again, the button works fine, the data is entered as it should be, but the PerformClick() does not fire the click event.
View 21 Replies
Aug 21, 2009
I have a form that works on my local Machine I created into. I have Office 2007 on this machine. I created the Form with the Excel 12 Reference. I move the Entire conetence of the Project folder to my work computer. Which has Office 2003. Do I need to recreate the form with the Excel 11 reference. I could not get the form to work on work computer. IT has a com error. I am acessing the EXE for the debug folder w/in the Bin Folder.
View 7 Replies
Jul 25, 2010
will SQL statements that work in Compact SQL Server also work in the Express Edition of SQL Server?
View 2 Replies
Jul 21, 2010
Dim pc As PrincipalContext = New PrincipalContext(ContextType.Domain, GetPath) ADUserInfo.PasswordVaild = pc.ValidateCredentials(LoginName, Password)
View 1 Replies
Oct 19, 2011
I'm using vb2008 with DB MSA2007 (save it to MSA2003) on Seven(7)System After I create my project I build it(make exe). then I took the file of project (application) and the DB from Debug Folder.
I tried to run this application with DB on another computer it's system is seven and MSA2007 and work very well. then I run it on pc it's system XP and MSA2003. it showed this error
Application Error THE APPLICATION FAILED TO INTIALIZE PROPERLY (0XC000135). Click on OK to terminate the application
View 1 Replies
Jan 8, 2012
I'm building a VB(2010) program to create the graphics for my laserprojector.The program works when I debug it in VB, but when I run the EXE program in the release directory, it doesn't work. The problem in the EXE program is theat I can't draw/view graphics in the picturebox..I coppied my whole program to a new VB project, but I'm having the same problem...In the original project, where the program works, there are no warnings or errors.
View 3 Replies
Mar 28, 2011
I created a windows form application using Visual Basic Express Edition 2008 but I did not know I could not use it on the web, which is what I wanted but being new to VB I just got a lot of headaches trying to figure this out. It works fine as a windows app but now just recently I installed Visual Web Developer 2005 to so I could create a web application from the windows app.
It is a simple windows application of a datagrid but now I want to run the same design application I made in Visual Basic to Visual Web Developer Express 2005. Is this possible? And, what do I need to do? I have all of the associated files in my project folder in Visual Basic Express folder.
View 1 Replies
Mar 14, 2011
how does look-up work in Visual Basic, I have done research on this but it does not explain. I have a Form1 called( Booking form) with 2 ComboBox's and 1 TextBox. each called (Destination_FromComboBox) and (Destination_ToComboBox) and (FareTextBox)and another form2 called (Fares Form) with 3 TextBox's each called TextBox1 (FromTextBox), TextBox2 (ToTextBox2), TextBox3(FareTextBox).So when I select (Booking Form) and Insert or select a Destination from (Destination_FromComboBox) and Insert or select a Destination To (Destination_ToComboBox) I want to read from (Fare Form/Fare Table) and give me the fare in FareTextBox on the Booking Form. Also on the booking I have 3 Radio Buttons
(RadioButton1 = 4 Seater Car, Normal Fare)
(RadioButton2 = 6 Seater Car, Time & HalfFare)
(RadioButton3 = 8 Seater Car, Double Fare)
But there is also a time Issue as well:
If the time is Between 05:00 & 23:59 then normal time should be used
If the time is Between 00:00 & 02:00 then time & half should be used
If the time is Between 02:00 & 05:00 then Double time should be used
I have watched loads of video's and looked through forums and other codes for the combination of the above, without success?
View 5 Replies
Oct 19, 2009
I have this great way to use VB6 I treated my project like a .exe file.Say I want to work on c:work directory.I just save as the .vbp file to c:work directory
All the other files (.frm,.bas,.cls) files are in a special directory called library ALL of my .vbp files, in c:work1, c:work2, c:work3 refer to that one same directory.How can I do that in vb.net?
Why this is important? Bugs always happen all the time. If I just run .exe file, when bug happen, I cannot do a thing. However, if I run the project file and run the program in debug mode, when bug happen I can figure out what happen.
View 9 Replies
Jan 23, 2010
I am a CS grad, but haven't had much to do with programming since my school days as I went the BA route.Anyways, there are a few things that I do manually on the computer and thought that I could probably save time by creating an application for them.But I'm not really sure how to start.I'd like to be able to keep a history of Completed eBay listing so that I know when the price point is good and when it is too high.I noticed that eBay has an RSS feed, so I think I can do it. Just a couple of quick questions:
1 - Can I instruct VB.net to open a web browser and read an RSS feed, or would I need to manually do this myself and then run the application?
2 - What is the best way to work with RSS feeds? Should I convert the data into XML first?
View 2 Replies
May 23, 2010
I am trying to get a percentage that just does not seem to work.I am using WMI to get the Total Physical memory of my system and then the Free Physical Memory. Then get the percentage.
2147483648 - Total Memory
838028 - Free memory
According to Task Manager my physical memory is 59%. This is the code I am using but I can not get 59% or 41% that is free.
temp = FM/TM
temp = temp * 100
percent = FM * temp
View 5 Replies
Jan 12, 2011
I have a simple application:Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
#If DEBUG Then
lblDebug.Text = "Debug"
#Else
lblDebug.Text = "Not in debug"
#End If
Now when I run it in VS, it prints "debug" like it should, but if i run the .exe, it still prints "debug". What do i have to do to get this to work right?
View 3 Replies