I have this sql statement:
CREATE TABLE [dbo].[User]( [UserId] [int] IDENTITY(1,1) NOT NULL,
[FirstName] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [MiddleName]
[varchar](50) COLLATE SQL_Latin1_General_CP1_CI_A
What i want is regex code which i can use to get all fields and data type.
So will return something li...
I have a legacy VB6 ActiveX control used in IE to provide control of a parallel-port device from a browser application. I wrote this thing about five years ago; It's a pretty simple control, and it doesn't require a lot of maintenance. However, I've noticed that running the VB6 tools is becoming more and more painful over time, so I'm ...
My scenario is such that I have a VB.NET project in SVN and I am using the Application Framework to start the application. This poses a great problem when different developers are working on different forms and they want to have different startup forms.
Right now if we change the project settings, its changed for everyone else too. How...
Hi,
I am a ASP.NET 3.5 web developer using VS 2008. I just started at a new company and there are alot of Web Designers here (never worked with Web Designers before). They all use Dreamweaver CS3 and PhotoShop (something i know nothing about).
What I would like to know is the following:
Would they have problems opening my ASP.NET pag...
Is there a simple way to convert MP3 to WAV in vb2005?
what i would like to do is play MP3 files in vb2005 but first they need to be converted to a byte(memory) wave string before they can be played internally by the program unless someone else built a class or module for this already.
...
hi.......
I have used a TreeView control in my web form.On rightclicking the nodes of this Treeview, I am getting a popup menu.The menu provides options for adding further nodes and deleting existing ones . My problem is that i am not able to add futher nodes to the TreeView. The informations related to the new node (ie its name , id...
this line of the code makes the form see-through "User32Wrappers.SetLayeredWindowAttributes(Me.Handle, 0, _
255 * 0.4, User32Wrappers.LWA.Alpha)"
if i adjust 0.4 to 0.6 it will become less see-through.
i would like to know if i can control this variable through a trackbar and how!
Public Class Form1
...
I have a paged gridview. I want to get the text of every row and put that text into an array. However, I only get the text for the visible rows, not the entire dataset. I can't just get the data from the datasource because the gridview is populated by two different databases. How could I get every row's text - visible or not visible? I'm...
Anyone know of some code out there that does this already? I have a bunch of pages with data grids on them in an admin website they want to export them to Excel, was hoping someone had this written already - or if not I'll post mine when I am done.
...
Hi
I need to have a vb code in ms word 2003 that copy a a specific cell in excel file and paste it in word (filed). belwo what i have done and it result in error.
thanks
h.khuraidah
quote
Sub cmdGetNumber()
Dim XL As Object
Dim WBEx As Object
Dim ExelWS As Object
Dim appwd As Object
Dim wdApp As Word.Application
''''
'On Error GoT...
I'm a Linq noobie, maybe someone can point me in the right direction. What's wrong here? These anonymous types seem to have the same signatures.
'*** Get all of the new list items'
Dim dsNewFiles = From l1 In list1 _
Where Not (From l2 In list2 _
Select...
My website look and feel is not 100% the same in Internet Explorer 8 as it use to be with Internet Explorer 7. My site is created with VS 2005 and ASP.NET 2.0.
How can I fix this?
Is there a way to fix this?
Edit:
For those who want to see my website, it is Located Here - Some borders are diff. and the Email/Username text box in th...
Hi. I am trying to read the following xml stream but am really struggling.
<channelSnapshot xmlns="urn:betfair:games:api:v1">
<channel gameType="BLACKJACK" id="1444077" name="Exchange BlackJack">
<status>RUNNING</status>
<game id="190675">
<round>1</round>
<bettingWindowTime>30</bettingWindowTime>
<bettingWindowPercentageComplete>100</b...
In Visual Studio C# (2008) ctl-M-L expand all the regions. There's also a setting in Text Editor->C# ->Advanced to not collapse during file open. I see no equivalents in VB.NET.
Is there a way to expand all the regions, not just the one which has focus in VB.NET.
Or a macro or add-in that does it? I just hate not being able to see all ...
do u need to download something for VB2005 to connect to a mySQL db?
cant connect to mysql db?
any suggestions?
...
I have a timer on a page in ASP.NET.
After a certain period of time elapses, I want to disable the timer.
I want to put a static variable in the timers tick event that will track how many seconds have elapsed.
My question is, will this work?
If user X and Y are viewing the page will they both have separate local static variables?
Wh...
I am upgrading vb.net app that handles the events of a COM object (possibly written in VB6) from framework 1.1 to WPF 2.0/3.5
The code: (object names simplified for brevity)
public class MyClass
Private WithEvents serviceMonitor As COMOBJECT.ServiceMonitor
Public Sub New()
serviceMonitor = New COMOBJECT.ServiceMonitor()...
This is VB.NET.
Does anyone have any idea what might cause the expression mentioned in the title to return False?
Things I am certain of:
There are keys in the dictionary.
The equality comparer returns a different hashcode for each key and that hashcode is always the same for the same input.
Comparing someDictionary.Keys.First to a ...
Hi...
How do I know wich is the current folder of an App??
I mean... Is there a way to know where is the exe located from the running code?
thanks in advance
...
In what situtations is it best to use reference arguments to return values?
Sub Example(byref value as integer)
value = 3
End Sub
In what situations is it best to return the value (perhaps in a structure for more complex types)?
Function Example() as integer
return 3
End Function
...