Search:
Type: Posts; User: stricknyn
Search:
Search took 0.07 seconds.
-
Thanks guys! This is what I was looking for.
Strick
-
Hello all,
Is there a way I can catch and handle two different exceptions within the same exception type? For example:
Try
' My code
-
Thanks guys. I'll try these out when I get to work.
Strick
-
Hi All,
I can do this with a for loop, but I was just curious if an arraylist can be updated using a for each loop. ie
For Each arrItem As String In myArrayList
...
-
Hi Edgemeal,
Yeah I thought about writing my own class to do this, but I just figured something like this is common and built into the .net framework.
Thanks,
Strick
-
Hi,
Thanks for your response. Do you know what these "certain base classes" are? I'd have to use these then because unfortunately I can't deviate from these requirements.
Thanks,
Strick
-
Hi all,
I have the following code sample:
Module Module1
<VBFixedString(8)> Dim strTest As String = ""
Sub Main()
Console.Write(strTest)
-
Hi all,
Had a datareader question.
Return myDataReader
I have a function which is retuning a datareader to various sections of my website which is then being bound to dropdown lists,...
-
Hi all,
I have two websites both of which will share the same users in a SQL DB for membership. The first site is the standard site while the other is a subdomain for admins.
If the admin logs...
-
Hi All,
I have a site which uses some custom web controls (.ascx files) that I also want to use on another site. The first site is the main site while the second site is a subdomain for admins. ...
-
Hi, outside of the US, you may have to use the applicable carrier code for the phone number.
Thanks,
Strick
-
You can also send an SMS by just sending an email from your app to the carrier's 10 digit number. I listed some of the popular ones below. But you can Google the carrier to find their email...
-
Hi all,
I'm wondering if this can be done. I have a SortedList which represents a shopping cart. The sorted list contains multiple instances of my CartItem class. The CartItem class contains...
-
Hi all,
Ok this is the weirdest thing. I'm wondering if anyone else has encountered this. Ok, I have a website in which the solution and webfiles are in Team Foundation Server's source control. ...
-
Thanks guys,
I'll take a look at this.
Strick
-
Hi all,
From what I can tell the listview doesn't have a header template. I'd like to be able to list and line up the column names with the data on my list view, but there doesn't seem to be a...
-
Hello all,
I have a gridview which is bound to a sqldtatasource. The gridview has 3 columns and a select button. The data in the gridview pulls up just fine when I run the application and the...
-
Hi all,
Had two questions about the ASP.NET menu control.
1) I have a menu control which is using a SiteMapDataSource. This is bound to a .sitemap file. I have the orientation property set...
-
Hi Gary,
Thanks for your reply. I'm paying for hosting my site.
Strick
-
Hi all,
Just curious if subdomains can be generated dynamically. For example say I have www.mysite.com. In a SQL DB is a list of cities. Can these be used to generate new subdomain for each...
-
Hi,
Thanks for your reply. Figured as much just thought I'd ask. If statements it is then... :ehh:
-
Hi all,
Is there a way to make a VB case statement evaluate all the cases? Similar to a java switch statement (without the break).
Thanks,
Strick
-
I thought this could be the case too. But there are other .adt files that are local that my code can access just fine. It's just this one file. The only real difference between this file and the...
-
Hello all,
I am using the ado.net advantage provider to access a Advantage .adt file. The file is very large (about 2.5 gigs) and is called log.adt. Here is my code:
Dim conn As New...
-
Hello,
Thanks for your response. Yes I know what they mean and still cannot get it to work (spent about an hour trying to get it to work and surfing the net for answers) which is why I turned to...
-
Hello all,
I have this code sample from a book I'm reading which looks to be incorrect:
Imports System.Diagnostics
Sub Main
Dim pc As New PerformanceCounter("PerfApp", "Clicks",...
-
Hi,
Yep it's possible. I had a project a few years ago where I used to connect right to comma delimited text files.
For this project your advice was very helpful. I was able to download the...
-
Hello all,
Is there a way that I can vew the tables once I have connected to an open connection?
' create a connection object
Dim conn As New AdsConnection(MyConnectionString)
...
-
Hello, thanks for your response. I think this was where I am really confused. The connection strings here look like they are for connecting to a Advantage database where I need to connect to a file...
-
Hello all,
Has anyone ever had to load a .ADT (Advantage database) file into a SQL Database? I'm exploring any option I can (vb, ssis, etc.) since I haven't figured this out yet. I'm not sure...
-
To add, the file must be there. Because I can access it and add to it from my program:
Dim config As Configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None)
...
-
Yeah, it's the weirdest thing. Even after right clicking the project in solution explorer and clicking build it wasn't there. I also tried "build solution" and "rebuild solution" under buil menu and...
-
I understand. Guess we just have two different philosophies on that. :-)
One thing I noticed though is that your method uses Double.TryParse. That means any double number will be valid. I...
-
Hi all,
Minitech, I have to disagree with you on that one. Regular expressions are made for this sort of thing. And you can validate a string with just a few lines of code and not have to write...
-
I'm not real strong at it, but have a look at regular expressions. These are pretty good at validating strings
Strick
-
Hello all,
Can someone tell me where this is? Most places on the net say it's in same folder as the .exe, but when I look in there I don't see it. There is an .xml file in there but that doesn't...
-
-
Hi yeah, that was where I was confused. I tried everything, including pointing to the .exe in my own project which of course didn't work. The book didn't state that I needed to create a reference...
-
Hello,
Error was posted (see first post). It was a file not found exception.
Thanks,
Strick
-
Hi all,
I have:
System.Diagnostics.EventLog.WriteEntry("Application", "Exception: " + ex.Message.ToCharArray)
in my catch block. Does anyone know the location of the event log so I can...
|
Click Here to Expand Forum to Full Width
|