Hey Overflow, I'm creating a code editor for a sub-version of Python in Visual Studio 2010.
(.NETFW 4.0 Client)
The thing is, I can't figure out how to write the XML file and then how to parse text in a RTB based on the info from said XML file...
Just now I'm resorting to locking the control and filtering through the whole RTB to check...
I have a DevExpress LookUpEdit that I am using withing Visual Studio 2008 in VB.Net.
I have the LookUpEdit bound to my datasource and the value that it is displaying may be null or one of the rows in the datasource. My program displays a treelist and when a node is select the LookUpEdit is supposed to display the assigned value (could ...
I want to perform a bitwise-AND operation in VB.NET, taking a Short (16-bit) variable and ANDing it with '0000000011111111' (thereby retaining only the least-significant byte / 8 least-significant bits).
How can I do it?
...
Hello Fellow Programmers
I'm having a bit of a problem populating a collections class with the values from the database. Everytime I loop through a record in the WHILE DR.READ loop, the last record over writes all the other items in the collection. My returnVal collections has several of the same items despite the loop showing each indi...
How do i get the startup folder path for "Current user" and "All user" in VB.net?
...
I have a bunch of events with values (how many people went through a doorway). Each event is associated with a Date. There is no fixed period to the events .If no one comes through the door, no event is generated, but often multiple people can go through at once, so the value can be greater than one.
Sometimes events are minutes apart f...
I have a webpage that needs to selectively show or hide a substantial number of controls. Each control's visibility is determined based on which of 3 conditions are true.
So, for example, given the conditions A, B, and C;
Control1 needs to be visible only when A and B are true and C is false.
Control2 needs to be visible only when B a...
What would be the fastest way to sort a list that contains a list of objects, based upon another list? An example follows:
Say I have multiple lists of employees. Each individual list has a common property value, say "Department". So I have a list of employees, in one list they all have the department string value of "Sales". In ano...
I want to convert numbers from 0 to 15 like that
0000
0001
0010
0011
.
.
.
1111
Problem is that when we convert 2 to binary number it gives only 10 in binary, but i want to convert 2 to 4 bit binary number 0010.
...
I have a linq union statement that has been giving me some trouble and I can't see where the issue is. Any help would be appreciated.
The error is....
All queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists.
I know the error means that I am selecting different amo...
I have text in a textbox. The content is "10/BSC/01".
"10" = current year
"BSC" = department
"01" = the roll number of student
If I press a command button the "01" should be incremented without affecting the other fields.
What should I do ?
...
I have to declare n = 01.
Nut whenever i try its getting changed as 1.
Wat should i Do ?
...
Hi,
I am getting Exception while connecting to database:
The type initializer for 'System.Transactions.Diagnostics.DiagnosticTrace' threw an exception.
My Code:
Con = New OdbcConnection(ConnectionString)
Con.Open() ' **Geeting Exception here**
tmpdt.Clear()
Cmd = New OdbcCommand(Str)
Cmd.CommandType = Command...
Showing Syntax error in Insert Query...........
Error
Syntax error in INSERT INTO statement.
but i have checked the query and tested it but there is no error Is there any problem in my code below...........Please any help thanks in advance
Sub OnOk()
Dim strquerry2 As String
Dim regcommand As OleDbCommand
...
Hi everyone,
I wrote the code bellow and need the asociated .PGP file to have the text http:// included. the PGP file is namely read by Autocad which requers the "http://" in its text to be able to launch the desierd webpage. problem is , is that VBA is Auto formating the http:// as a code entatie and not writting it to the text based P...
My whole websites makes use of the ASP.NET(2.0) repeater control and I have been getting some complains from people that they cant view my site as the controls are overlapping.
This sounds like a browser issue to me as I never see it in IE8 or IE7 or Chrome or Firefox.
Any idea why this is happening? What should I do to prevent this fr...
I have create Office Excel application in my machine(XP). and i have placed the application in windows server 2008 giving the following error.
Microsoft Office Excel cannot access the file '\server\Input.xls'. There are several possible reasons:
The file name or path does not exist.
The file is being used by another program.
The work...
I would like to write an application that uploads torrents to a tbsource site.
I have the below but it doesn't seem to work.
I am not that good with webrequest so have no idea what I'm doing here
Please could some1 help me find out what I am doing wrong with the below code.
Imports System.Net
Imports System.Text
Imports System.IO
Pu...
Consider the following case:
Public Interface IHasDateUpdated
Property DateUpdated As DateTime
End Interface
Public Class MyClass
Implements IHasDateUpdated
Public Property MyDateUpdated As DateTime Implements IHasDateUpdated.DateUpdated
End Class
Now, assuming I was referencing an instance of MyClass as an IHasDateUp...
Hey,
I just need clarification about something.
I am currently job hunting - I put my CV on Monster on Monday and have had about 8 agencies phone up about jobs they have available. One of them said that he notices VB.Net is on my CV but asked if I know ASP.Net. I replied that ASP.Net encompasses both VB.Net and C#.Net - as far as I kno...