Used Dll Only When Needed?
Nov 13, 2010
I have a executable that connects to a remote database using MySQL connector so it uses the MySql.Data.dll would like to know if I can somehow call the dll only when needed so I don't have to import itwhy I want this?well for example if the MySql.Data.dll is missing the executable just crashes without any details
View 11 Replies
ADVERTISEMENT
Nov 24, 2009
how to calculate how many cards are needed at least to make a straight in texas hold'em?
pratic examples:[code..]
View 2 Replies
Nov 1, 2011
I write programs in VB 2010 which uses .Net Framework 4.0. However my school currently only has .Net Framework 3.1 (3.something, think its 1)Is there anyway i can "downgrade" the needed .net framework, or even just select another .net version to use?
View 1 Replies
Dec 21, 2009
Obviously error handling is a major factor in making a good application. If a error happens letting a user know what has gone wrong.But some times error handling may(i think) not be needed. Example.
Private Sub RemoveCheckedl()
Try
For Each Item As ListViewItem In lst.CheckedItems[code]....
also when error handling it's could to think about what type of errors could be made.
Catch ex As Exception
MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
even though this catches the error and displays a msg, it may not be a great message for the user so he/she can understand.
View 21 Replies
Jun 4, 2010
I really need to create very huge 2D matrices such as 5x5, 10x10, 7x7 and use them for basic Matrix calculations involving Matrix multiplication, Transpose and Inverse.
View 2 Replies
Oct 12, 2009
I have just downloaded Visual Basic Express 2008, I have previously only ever used access and I have a rather stupid and basic question to ask! I have a button and am trying to enter the very simple code so that when it is clicked it opens Form2, I am unsure as to how this is written as the "expression" I would have used in access obviously doesnt work.
View 2 Replies
Jul 13, 2010
I'm wondered how to make program that not needed to install. Only click the icon and its working and resource folder too. When I'll do build program it makes program thats needed to install.
View 4 Replies
Oct 5, 2010
I am trying to print a Rich Text Box in VB.Net. There is a good example at:BUT, when I copy the code I get errors onImports System.Windows.Controls
View 3 Replies
Oct 24, 2009
On my emailer program ive created a messagebox to appear if any of the textboxes are empty when i clcik send, its works fine (first time) but if i leave a textbox empty for the second time and click send i get an error.[code]
View 20 Replies
Apr 30, 2009
I have 3 arrays setup for use in my program. The first array has item level detail and will have a known number of elements. The second array has more of a table level detail and will have an unknown number of elements that will need to grow as the user enters data The 3rd array will also be of unknown size but matching the second array and will be used for indexing purposes at runtime.The question is what would be the best and hopefully fastest way to keep these arrays as small as needed while being able to add new elements on the fly without rebuilding the entire array. Ideally I would like the code to run as fast as possible in as little memory as possible.
View 9 Replies
Apr 19, 2011
The program has 3 list boxes and the user is supposed to choose an option from the 1st and 2nd list box and add the total in the third list box, when i run the program all i get is $0.00. I was told a loop was needed, but I'm not sure where I need to put it and what kind of loop I nee
Dim Day As Integer
Dim Total, Fee, Stay As Double
Dim Workshop As String = lstWorkshop.SelectedIndex()
[code]......
View 3 Replies
Oct 23, 2009
Could anyone give me the prequisites needed for a LAN Instant Messaging Application?And then, if possible, a step-by-step explanation of how this is accomplished, or a link to a good tutorial?
View 3 Replies
Jun 7, 2010
I have a project to do in Visual Basic.My problem is that the outcome is always wrong (ex. instead of 2011 it gives 2000). And i cannot set as Desired unit the Inch(1) or feet(3), it gives the Infinity error. And if i put as Original and Desired unit the inch(1), the outcome is "Not a Number".[code]
View 2 Replies
Sep 2, 2010
I'm just starting to really get into JSON as a tool for my sites. I was showing my friend how I am calling a WS and returning the data, and he asked me about security of passing JSON data to and from a web service as he saw the data from the "POST" (via Firebug). Many of our public facing sites deal with member information and contain PHI.
Can I encrypt the JSON data and then unencrypt it? Is that a good way to go about it to ensure a layer of protection? Or is there another "better/right" way of doing it? Or are his concerns unfounded? how to encrypt or secure the JSON data when needed? Just trying to gather as much knowledge as possible before I go down a path that won't work for the company.
View 4 Replies
Dec 21, 2009
i have a component developed in dot net if i want to find out the dot net framework required for that component to run, how can i find out?
i know we can detect the framework installed on a system, but here i have a dot net component, and want to find out which framework is needed for it to run?
View 1 Replies
May 18, 2011
I have a multiline text box which I only want the scrollbars to appear when the textbox is full.
I have tried this code but itdoesn't seam to work.
Private Sub txtBuilderDscpt_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
Static busy As Boolean
If busy Then Exit Sub
[Code]....
View 4 Replies
Nov 21, 2011
I have a dropdown list box that displays data from my database. Problem is that some records are quite long so the width of the dropdown box extends past the side of my screen. I have a reasonible width set but it is not stopping the dropdown box from getting as wide as it needs to display each record. How can I set a fixed width on this?
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True"
DataSourceID="SqlDataSource1Usage" DataTextField="data_text"
DataValueField="ID" Width="280px">
</asp:DropDownList>her
View 3 Replies
Jun 15, 2009
How can i mask NIC number while eneteing NIC information???
View 1 Replies
Mar 8, 2012
Well a mod closed my topic in ASP.NET. I tried to move it there since this probably has more to do with ASP.NET. Anyway here it is again. ng the method takes more parameters than I created.
Web service project -
Method header in IService.vb:
1Function GetValue(ByVal country As String, ByVal amount As Decimal) As Decimal
[code].....
View 1 Replies
Jul 22, 2010
I need to update (well, rewrite really) a SMALL VB6 application which uses ADO to access a JET database, to a vb.net app in Visual Studio 2008. My research suggests that I should use LINQ, but it doesn't seem to be possible to connect to JET. If JET is now deprecated, what should I use? Or should I use ADO.NET without LINQ?
Please don't answer SQL Server! - this needs to be an app that end users can install easily in corporate or non-corporate environments, and must not require any ongoing technical maintenance. I started to install SQL Express, but stopped when it required at least 2 system updates, as that will be far too complex for this little app.
View 4 Replies
Jul 3, 2009
I know how to genrate a serial number using GUID. How can I use it. Suppose I send a CD with the software to someone. I do not want just anyone to use it. They have to have the KEY or SN. How can I impliment it so that if you do not have the s/n / key then you will not be able to install the software.
View 4 Replies
Apr 28, 2009
I am still trying to accomplish a tiny flatfile based database. So far everything works fine except for the fact that 'data records' are not sorted alphabetically. My 'data records' are saved in files and their filenames are used as ID. Now all the data are stored iin the files, so, my application reads out the values and adds them to the 'database'. Unfortunately, I couldn't find any way to sort this added data alphabetically by name - everything else works perfectly and I am almost finished, except for the sorting.
[Code]...
View 10 Replies
Nov 11, 2009
My question now is how can i add a screen where the user must enter a product key before he/she can use my program?
View 4 Replies
Jun 8, 2012
I'm looking at a project that will use the speech recognition stuff provided with .NET, but need a tutorial or two to introduce me to it.
View 2 Replies
Apr 29, 2012
Its about updating, it check a remote server for version. For example i have version 1.0.0 so the updater says that there is a update (1.0.5)
[Code]...
View 2 Replies
Mar 8, 2011
I just installed VS 2010 Ultimate with the intent on developing Windows Phone apps. However, I've seen alot of different links as to what I need to integrate the Windows Phone SDK into VS 2010 and I'm really not sure about it. Can anyone provide me with a one-stop shop link for this?
View 2 Replies
Feb 15, 2012
I have built a Tabbed WebBrowser using various pieces of code from the internet. I am trying to create a button that will allow me to enlarge the page too 120%. I used some code on a normal WebBrowser page and it works OK. But this same code will not work on a Tabbed WebBrowser because of the ActiveX. This is the code I used on both browsers, as I said, it works ok in normal webbrowser, but not tabbed webbrowser. I am using Visual Studio 2010
Private Enum ExecOpt
'A few options for what we want to do, using ActiveX
'This option will just carry out the default action
OLECMDEXECOPT_DODEFAULT = 0
[code]....
View 6 Replies
Nov 24, 2010
My project has the need to build consistent urls similar to the ones here on stackoverflow. I know how I "can" do it by running the string through multiple filters, but I'm wondering if I can do it all with a single method.Basically I want to remove all special characters, and replace them with dashes BUT if there are multiple dashes in a row, I need them to be a single dash. How can I implement this as clean as possible?
[Code]...
View 2 Replies
Jun 5, 2010
I am attempting to create a program for a business but i have no idea how to create a database to hold the information and allow me to access it when needed
View 1 Replies
Dec 21, 2011
I've reached the end of my project but I have several unused and not needed .xsd files from trial and error of linking my program to a database. I want to clean up a bit and get rid of them while keeping only the essential files attached to this program. I tried deleting the .xsd files but it seems too ingrained into the program to the point where the program has several errors and just breaks. I have to manually restore the files from the Recycle Bin to get the program to start working again.
What are other solutions to get these files out of the project? I thought about clicking "Exclude From Project" but am afraid of the consequences. I figured I'd check with someone here before taking action.
View 5 Replies