I have read the MSDN Page on how to suppress messages. I am unable to supress
warnings for VS2008.
I have tried the following instructions listed:
In the Error List, select the
warning or warnings to suppress.
Multiple warnings can be selected at
the same time.
Right-click the warning, point to
Suppress Message(s), an...
Running the following code resulting in an HostException;
Public Sub RunPowershellInConsole(ByVal scriptText As String)
Dim config = RunspaceConfiguration.Create
Dim args() As String = New String() {scriptText}
ConsoleShell.Start(config, "Windows PowerShell", "", args)
End Sub
.
System.Management.Automation.Host.Host...
I'm using VB.NET but any other known language should be fine as long as it uses basic features.
My task is to create astrological compatibility chart, when two users have certain astrological sign as inputs and there is a text about those signs compatibility.
for those who are unaware of astrological signs but still want to help, there...
Dear All
Is there any way to play MP3 directly from a memory stream (without any temp. files) using VB.NET or C#? or play from SQLCe database?
Thanks
...
Hi!
I've written an encryption program that encrypts and decrypts selected files using a user-entered password as the encryption key.
Once en/decrypted, the user will be asked if they want to delete the file that was used, and, in the case of decryption, open the newly decrypted file.
My brother came up with an idea for this applicati...
I've an arraylist having 30000 items in it, what's the best way of creating a text file on the fly from an ASP.NEt page? Currently I'm using the code below but it times out with large data,
Using fileStr As New FileStream(sFileName, FileMode.Create, FileAccess.Write)
Using writer As New StreamWriter(fileStr)
writer.WriteLine("Error ...
I'm working with VB.NET and I'm working with a RESTful API... They have a construction for selecting resources (Includes) and fields. I've written a wrapper and want to add syntax checking before making any calls. I'm wanting to use RegEX but am struggling to understand and need help.
The calling syntax structure is nested up to 3 level...
I just installed the latest Silverlight 4 developer bits using the Web Platform Installer. I tried to start a new "Silverlight Business Application" project in VB.NET, but the project won't compile out of the box. For example, I get an error message to replace WebContext with WebClient.
What might be the problem with the Silverlight B...
I have a Class Library that is exposed to COM like this:
<ComClass(SomeClass.ClassId, SomeClass.InterfaceId, SomeClass.EventsId)>
Public Class SomeClass
Public Const ClassId As String = "GUID1"
Public Const InterfaceId As String = "GUID2"
Public Const EventsId As String = "GUID3"
Public Sub SomeMethod(ByVal ParamArray ...
I have data that I'm taking from an Excel sheet with the ultimate goal of displaying in a DataGridView.
Currently I am just going over the UsedRange of excel data and plugging it into a datagridview. This works fine, but can get bogged down when there 100+ rows of data.
I have also toyed with going from excel into a dataset (using the ...
Hi
I am trying to implement the sloution found in the following question
http://stackoverflow.com/questions/490627/custom-http-basic-authentication-for-asp-net-web-services-on-net-3-5-vs-2008/534878#534878
the one answered Feb 11 '09 at 0:04 eed3si9n
When looking I have created my own AuthModule etc, but I am unable to add it to the ...
Hello there!
js:
var paramStr = $('#id1').val() + '|' + $('#id2').val() + '|' + $('#id3').val();
paramStr = '{"searchCriteria": "' + paramStr + '"}';
$.ajax({
type: "POST",
url: "/MyService.asmx/MyWebMethod",
data: paramStr,
contentType: "application/json; charset=utf-8",
dataType: "json",
...
I have a class having 2 properties (both integers) and storing class into List collection.
Public Class GroupSelect
Public Property RowNo() As Integer
Get
Return m_RowNo
End Get
Set(ByVal value As Integer)
m_RowNo = value
End Set
End Property
Private m_RowNo As Integer
Public Property GroupNo() As Integer...
So I need help on an assignment and I've been trying to solve it for more than a week, but I need help on putting an arraylist inside a listbox.
http://i29.tinypic.com/ib9oiu.jpg
That's what the GUI should look like in the end, all the information has to be saved in an arraylist; I should be able to add a new customer; click on a custom...
In C++ it is fairly simple to display the actual value of a pointer to an object. For example:
// hope this makes sense: (please edit if not)
void* p = New CSomething();
cout << p;
Is there a way to do something like this in .NET?
The value of doing this would/could only be educational, e.g. for purposes of demonstration as in displa...
Here is the exception:
"Conversion from string "" to type 'Double' is not valid."
Here is the line of code that that throws the exception (confirmed from stepping through in the debugger):
If LoanData.Item("ApplicationId") <> "" AndAlso LoanData.Item("ApplicationId") IsNot DBNull.Value Then
Any ideas?
...
I have following function to get utc time. dtuniversal I pass to stroed proc of sql server data type time. it works fine upto values 6 PM eastern ( which is 23 utc) it fails on 7 PM eastern ( which is 24 utc) I get error "Invalid value for this metadata".
Private Function GetUTCTime(ByVal time As TimeSpan) As TimeSpan
Dim dt As New...
Hi Guys,
I want to send an automatic E-mail based on the date. If the current date is greater than 5 days than the current date field in the table then i need to send an E-mail to the designated person. I am using VS.NET2003/VB.NET/ASP.NET/SQL Sever 2000. Can you guys help me how to get this done(if possible with Code?)
Thanks.
...
To be specific, here is what I am doing, and here is what I am trying to do:
I'm coding an ASP.NET page, with VB code behind. When the user clicks a button on the page, I send them an email with information and instructions. Rather than sending a plain text email, I send a nice, pretty, HTML-formatted one. Right now, I'm doing this in a...
In developing a flash-based memory manager, I need to be able to view large quantities of data. With my eyes and monitor resolution, I can read hand-drawn 3x5 letters on a 4x6 matrix without too much difficulty, but none of the system TrueType fonts render optimally at that size. I've tried writing code to draw font shapes to off-scree...