Hi,
I create a UserControl (TableWithFilter.xaml) with a dependency property (source). The UserControl is a Table with a source property for the different items. I created the XAML and set the source property via the XAML Binding. So far so good.
But if the value of the dependency property is changed, the defined callback method is not...
Hi,
I'm looking for a tool that plugs into the browser and records user actions and then saves a webtest in either c# or vb.net. Then the tests can be compiled and run without a browser, ie tests use httpwebrequest with extraction rules etc.
I only have Visual Studio 2005 professional, I know that the functionality I'm after is availabl...
Why, when I do im my code:
"Land Location \\r\\n Roundoff (C)"
I see the \\r\\n and not a new line feeder at the output?
Any idea how to do that?
As I said I must have only one string there, without using a "&". Can I put that vbCrLf inside of my string somehow?
...
Maybe someone know how ListView pointer is stored/removed at ReadOnly Property ListView in ListViewItem? How is it implemented? I know ListViewItems are stored in ListViewItemCollection which has constructor New(owner as ListView) but I dont know how pointer to ListView is add/remove in ReadOnly Property in ListViewItem...
...
It will be a gift for a family member. He's older, a retired school teacher and likes to tinker with programming mostly as a mental exercise to stop the old brain cells from gelatinizing.
I've seen him make some pretty creative and moderately complex games in BASIC (QBASIC to be precise), and I believe he's making the hop to VB.NET this...
How can I update and get values in a Windows Forms application while moving one form to other form (like cookies)?
I need to update the values to some variable and again I am going to refer stored values and need to do some calculations.
I have used cookies in ASP.NET but I am not able to find out the same concept in .NET Windows Forms...
I have a button called btnSubmit where i set the Form action attribute to a URL like so.
Protected Sub btnSubmit_Click(ByVa....
Form.Attributes.Add("action", "http://now.eloqua.com/e/f2.aspx")
End Sub
This does work but for some reason it only works after I clicked the button the second time. Why is this and how can i fix this?...
I'm creating asp links using response.write in c#, the same HyperLink code works smoothly when inserted directly in the asp code, but when i copy/paste it to the response.write("...") it appears as an unclickable black text.
Am i forgetting something?
<asp:HyperLink ID='HyperLink1' runat='server' NavigateUrl='Exibe.aspx'> CLICK HERE </...
Hi,
I have VB6 ActiveXDLL called A.dll , I am referencing this DLL into my VB.Net Application.
Now I am calling a function of A.dll in this project. A.dll function is referring to the function of B.dll ,C.dll ,C.dll further referrer to Z.dll and so on.
when I am executing application it gives an error from B.dll that ActiveX component ...
I am using ASP.NET 3.5.
I have a button called btnSubmit and on this button in the PostBackURL i have a URL the page must submit data to.
<asp:Button ID="btnSubmit" runat="server" Text="Submit" CssClass="Hand"
PostBackUrl="http://now.eloqua.com/e/f2.aspx" />
Now when i have this i cant excecute more code in the button click ...
With a function being passed a full path to a file, such as C:\someFolder\anotherFolder\someXML.xml, determine whether the folder exists. Is there a smarter/better/more elegant way of doing this? Here is my implementation:
Private Function FolderExists(ByVal fullPath As String) As Boolean
Dim folders() As String = fullPath.Split("...
I know CodeDom doesn't support partial methods, but is there a workaround? I found a workaround for C#, but I need one for VB.NET. Thanks.
...
Nothing too fancy, but the following would be nice for .NET:
Be able to instantiate the object and hook up the MessageReceived and ConnectionChanged events (or ones with similar purposes).
Be able to send data (duh)
When data is received, it fires the MessageReceived event on the same thread that the object was created on (this would b...
Is there a simple way in vb.net to mask a public property or method from the internal namespace? It would be helpful as a refactoring tool to isolate internal dependencies and perhaps to enforce a non-recursion policy for external services.
...
We are trying to add SQL Reporting Services to a .Net 2.0 Web Application. SRS has been installed on the server successfully, but we get an error when we try to load a report or access the report manager:
Server Error in '/Reports' Application.
--------------------------------------------------------------------------------
Configurat...
I'm converting the Linq query below from C# to VB.Net. Can you spot my error? The query joins 3 XML datasets. Thanks in advance!
C# - This one works great.
List<Course> courses =
(from course in CourseXML.Descendants(ns + "row")
join coursecategory in CourseCategoryXML.Descendants("Table") on (string)course.Attribute("code") equals...
In a windows form using vb.net 2008 a context menu when mapped to the datagrid shows submenu's properly but when mapped to a row template of the same datagrid view does not submenu or dropdown items in that menu
Any help on this please
...
I want to extend the VB.NET dictionary object to not bitch about an item being already in the associative array.
This is what i want to do:
Public Class BetterDictionary
Inherits System.Collections.Generic.Dictionary(Of Object, Object)
Public Sub Store(ByRef key As Object, ByVal value As Object)
If Me.ContainsKey(k...
I am having some problems with my code as I cant do this following in VB.NET or C# because there is no form1.submit() function in VB.NET or C#???
<script language="javascript">
function valSubmit(){
varMyReg = document.form1.lstCountry.options [document.form1.lstCountry.selectedIndex].value;
varNewReg = varMyReg.substring(0, 3);...
This is a dumb question, but I just cant find an answer. I want to do something as simple as this in IronPython, something I did in asp.net vb.net to capture the id of a table displayed in a gridview or datagrid
iid = e.Item.Cells(2).Text
But I get "Tablecellcollection is not callable". Any idea or alternative to solve it?
...