Is it possible to programmatically zip/unzip files in vb.net? Meaning, not that it will extract the files for the user, but take the files inside the zip and be able to use them in the application? Then, is it possible for this to create a zip?
I couldn't seem to find a compression namespace anywhere.
Thanks for the help!
...
Dim objMail As New Mail.MailMessage("[email protected]", ToEmail, "Password Reset", body)
...and the problem is that the message is sent as pure text including the <br> tags within the body
How could i send the email as html?
...
I have been having problems with creating a download list of files for a downloader and was getting unexplained "File Does Not Exist" returns. My .avi files were returning found but but .exe and .txt files were getting the not exists.
I have now found by pulling in the whole directory and examining the file contents that my .exe files ...
I am attempting to send the PrintScreen key, obviously, which ought to work no matter the window it is focused on. How can I make this trigger the printscreen action like it normally would? This is in VB.net. Thanks for the help!
I have googled this, and couldn't find any results that worked.
EDIT: Somehow, this worked, once. But now i...
what can i do with 4GL that i cant do with VB?
what industries are seeking for 4GL programmers?
...
Is it possible, without an external code library, to separate a .gif file into its individual frames, and conversely, to assemble a group of images into one?
I have spent a while playing with the System.Drawing namespace, and cannot seem to figure out how.
Also, I cannot figure out what to pass as a parameter for GetFrameCount. I do no...
I have seen that unsigned .net applications will not run on most college networks and as part of a school applications i am trying to let these applications run on a protected network. the app is writen in VB 2008 and is signed strongly.
...
Hello guys,
I want use a stored procedure in my project but I have no idea about it. Please could you tell me a little bit about how to use I can use one in my vb.net application ?
...
Hi,
I am using VB.NET and below code on button click event.
Protected Sub ibtnSendInvites_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ibtnSendInvites.Click
Try
Dim emailList As New List(Of String)
Dim conString As String = WebConfigurationManager.ConnectionStrings(...
hi guys,
I have 2 buttons and 2 divs div1 and div2.On click button1 div1 is made visible and div2 invisible,On clicking button2 div2 is made visible and div1 is invisible.
For that i used javascript.
function showdiv2()
{
document.getElementById("div2").style.visibility="visible";
document.getElementById("div2").style.dis...
i need to restrict users selecting check boxes multiple times, only one check box should be seleted in my asp.net form ,
i am not using a checkbox list
Please help
...
Basically i have a wcf service that returns a dataset of 2000 records.
When i run the function from an application i get the standard error.
"The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element."
Now i know how ...
While writing and saving excel file from xp works but same code gives error in vista saying
The file name or path does not exist
The file is being used by another program
The workbook you are trying to save has the same name as a currently open workbook
...
I'm using gridview with templates to show and edit some information from a sql database.
When I edit and change the data in that row and then click enter it automatically presses the highest on page button which uses submit to server set to true which means it'll try to delete instead of update.
I've have tried setting a panel round th...
Below I tried to do an Example:
Public Function UserData(ByVal UserDN As String) As DataTable
Dim myTable As DataTable = UserData_Table()
Dim dr As DataRow
dr = myTable.NewRow()
SplitOU2(UserDN, dr("OUDN"), dr("Organisation"), New Object)
dr("UserDN") = UserDN
myTable.Rows.Add(dr)
Return myTable
End Functi...
In VB.net, how can you programmatically launch a .exe file? Is there a way to check if the file is there?
I know there is some way to check using System.IO, but I have no idea. However, I have not even the slightest clue as to how to launch that .exe if it is there, so thanks for the help!
...
I have returned object from signature device and when i make quick watch on it, it told me that its an array of long and when i pass it to web method in my code behind (vb.net) it gives me nothing.
i need some help..
note: i'm using an activeX to capture the signature from the device.
this is javascript code :
function OnSave() {
...
It would be easy enough to make my own system for this, but I'm figuring that the .NET library, being as massive as it is, probably already has a class made for this very purpose.
For hit detection, my VB.NET game uses two 2D arrays that store the state of each pixel in the level. Each element in these arrays is a Byte (or, more accurat...
I have two .NET projects in the same domain. The first project I create long time ago in VB.NET. Now I create another project that I built in C#. How can I set up my new project in the same domain so I can access the new forms that I built in C#. Do I need to submit the whole folder from the project? Do I need to change anything in the w...
I'm using Entity Framework to access my MySQL database. The model was generated using EDMGEN2 and everything works great. I can do all my linq-to-entity query goodness...
...until an indeterminate amount of time passes and I get "The ProviderManifestToken '5' is different from '5.1' that was encountered earlier" error. Why is it encount...