I am creating a Visual Studio .NET plugin using DXCore for my group to use and have been trying to figure out how to open the plugin in a tab like source control does instead of it opening in a new window. Any Ideas how this can be done???
...
I'm programming an application in VB.NET in which I need to take the Items from a ListBox, which are an ListBox.ObjectCollection and convert into a String array to be passed as a parameter to a Sub procedure.
How should I do it?
...
Hello. I am currently creating dynamic SSIS packages that import/export and access data between a SQL Server and several Access DB files. (Jet files if you want to get technical.)
Anyways, everything is successful during testing, as long as my SSIS packages have hard-coded connection strings to the Access file. This is great and works f...
I am using a GridView in asp.net 2.0 and I want to perform inline editing. I am using an object datasource. Because I want to use validation controls on the integer fields in my gridview, I have made them into <TemplateFields> and added a datatype validator and a range validator. This allows me to either have a blank field, or an integer...
The documentation of CharUnicodeInfo.GetUnicodeCategory says:
Note that CharUnicodeInfo.GetUnicodeCategory does not always return the same UnicodeCategory value as the Char.GetUnicodeCategory method when passed a particular character as a parameter.
The CharUnicodeInfo.GetUnicodeCategory method is designed to reflect the curren...
I'm trying to bind an image using Eval() with VB.NET and ASP.NET, but am running into issues:
Code snippet
<bri:ThumbViewer Id="Th1" runat="server"
ImageUrl='<%# Eval("Name", "~/SiteImages/ram/3/{0}") %>'
Height="100px"
Width="100px"
/>
I set strImagePath in the code-behind as:
strImagePath ="~/SiteImages/ram/3/"
H...
hi guys,
I have following code in page load
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
GetDetails()
PopulateRepeater()
End If
End Sub
Sub PopulateRepeater()
Dim dt As DataTable = GetDetails()
Dim dtD...
I am trying to convert one of my unix text files to a dos text file. I am using the following command:
Shell(string.format("unix2dos {0}", sFileCompletePath))
I've already added the unix2dos command in my environment path on the server.
But when I execute the above mentioned command I get a FileNotFound exception even when the file i...
I have populated a datatable from a SQL stored procedure and need to do further filtering on the datatable. The datatable holds data that is returned from the SQL DB as varbinary and is stored in the datatable as a byte array. I am attempting to pass TheData!Hash which is also a byte array.
When I need to filter the datatable I have use...
I want to add a hyperlink to a social bookmarking site om my webpage which requires me to include the name of the page it is being sent from.
Example of what I am trying to achieve:
Current page is:
http://www.testpage.com/testpage.aspx?test=34
Hyperlink I want to create on the above page:
http://www.stumbleupon.com/submit?url=http:...
Hi
I am having trouble doing something that is probably pretty simple!
I have a stock listing that is done by 1) a simple form with parameters (\Index) and 2) an ajax called partial view that displays the list of stock (based on the params).
On this same simple form (\Index) I have an action link to an "Add Stock" method which calls a...
In a project of mine I'm currently doing this:
addTemplateToList(New docNULL)
addTemplateToList(New docAgenda)
addTemplateToList(New docAgendaNew)
addTemplateToList(New docOffer)
:
20 more
:
addTemplateToList(New docRequest)
all classes inherit docMain and addTemplateToList( X ) adds x to a List(Of do...
the user has the option of dragging several pictureboxes around the form. when he lets go of the mouse, the picturebox will take on a new position on the form. this i have done succesfully thanks to the stackoverflow community.
i would like to implement the following:
on mouseup, if the picturebox position is within some amount maybe 5...
in vb.net i would like to draw a regular line on a form. is there a control to do this?
...
I built a simple vb.net winforms project that pings IP addresses and logs the results. It works fine on most machines I've tried it on. I log the status result of the ping (System.Net.NetworkInformation.IPStatus) by using the IPStatus.tostring method.
Normally this returns a text result such as "Success" or "TimedOut"
Yesterday, on one...
Hi there,
I have a vb.net baseclass in a dll in my c# project. I created a derived class in c#. I fill the C# class with all its properties, including the base properties from the vb class.
Now I send them through a webservice (c# ) to a jQuery client. But on the client I only see the vb properties?
Anyone has a clue?
public class Fi...
Here's the situation. Due to the design of the database I have to work with, I need to write a stored procedure in such a way that I can pass in the name of the table to be queried against if at all possible. The program in question does its processing by jobs, and each job gets its own table created in the database, IE table-jobid1, t...
for this line:
Private _allowedLocations As Point() = New () {New Point(50, 50), New Point(500, 500), New Point(700, 100)
i am getting the error "type expected for 'new ()'
whats wrong with the syntax?
...
Hey experts -
I'm having a ridiculous time trying to get an SMS API working (ZeepMobile, if you're interested) with .NET... I've been around .NET for a few years, but with all this social networking and API stuff, I need to get into the HttpWebRequest a bit. I'm new at it, but not completely new; I was able to hook up my site to Twitte...
I have a question about efficient implementation. Lets say I have two arrays:
One array is all possible items in a house: Table, Chair, TV, Fireplace, Bed
The other is an array of items in a particular house: Table, TV, Bed
I also have two list boxes:
1. listbox for items in the house - the "HAS" list box
2. listbox items not in ...