|
Check in these links
controls.add
http://www.codeguru.com/forum/showt...t=dynamic+label
control array
http://www.codeguru.com/forum/showt...t=dynamic+label
|
|
|
|
|
I have a datagrid that is recieving multiple columns of data. I want to make 1 specific column have bold type. I have managed to get this to work in tablestyles but the bold type only shows up when the datagrid cell has focus. I need the data in the specific column to be bold all the time. can anyone please help me figure this out.
thanks
|
|
|
|
|
Hi,
I'm currently writing a VB.NET Class Library that will be used by other developers. I need to provide descriptive comments about the methods I am making available such as Summary and Return Value etc. In VB6 I did this in the Tools>Attributes but we do not have this option in .NET.
Thanks in advance for any adivice!!
Ronny Flaatten
|
|
|
|
|
|
Thanks!! I was looking all over the web but could not get anything. This tools actually exceeds my original requirements, and it will go much farther than just adding comments to my Class.
Thanks again!
|
|
|
|
|
I'm glad I could help.
|
|
|
|
|
Hi,
I have a big solution contains some projects of vs 2003, now I want to generate some new projects in 2005 and add them into the solution. Is that okay I have both version in one solution?
Thanks!!
|
|
|
|
|
Hi
No it is not possible
regards
GV Ramana
|
|
|
|
|
VS 2005 sucessfully converts earlier solutions. Therefore, I advice you to use 2005 and load the previous solutions which were assumably created VS 2003. However, you will be facing with some certain corrections and modifications. It will be a big plus for you to come up with a clean code.
I had the same problem but now with 2005 my code is clean, more understandable and more simple.
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
I'm trying to load an assembly from stream, this works fine.
But how do I use the assembly once loaded?
I just keep on getting a file not found exception in my code.
Any idees?
/Johan
|
|
|
|
|
Could someone please send me the code for creating a btree, and basic operations on a b-tree, like inserting and deleting keys in the nodes of b-tree using VB.NET. Please, i need it fast
Keshav v. Kamat
|
|
|
|
|
Hello All,
I'm having some trouble with this Web Service that I'm writing for work. The web service needs to sign incoming/outgoing requests with a valid X509 Certificate. I've written and tested the service here on my machine and it works fine with test certificates that I made via the makecert tool. My Company purchased a certificate from a well-known CA, but for some reason I can't get the Service to operate coorrectly with the purchased certificate. As far as I can tell it is installed correctly on our server (IIS 6.0). When I try to access the certificate programatically per the code below, I get an error that "the keyset does not exist". The private key file is there, I can pull it up with the WSE 2.0 Certificate tool and view the file, the permission are also correct, I'm logged in as Administrator with full control over all the directories/subdirectories.
CODE :
Private Function getSigningToken() as X509SecurityToken
Dim res as String = String.Empty
Dim securityToken As X509SecurityToken = Nothing
Dim store As X509CertificateStore = _
X509CertificateStore.LocalMachineStore( _
X509CertificateStore.TrustStore)
Dim open As Boolean = store.OpenRead()
Try
Dim certs As X509CertificateCollection = _
store.FindCertificateBySubjectName(cName)
Dim cert As Microsoft.Web.Services2.Security.X509.X509Certificate = _
CType(certs(0), Microsoft.Web.Services2.Security.X509.X509Certificate)
If cert Is Nothing Then
res = ("You chose not to select an X.509 " + _
"certificate for signing your messages.")
securityToken = Nothing
>ERROR HERE --> ElseIf (Not cert.SupportsDigitalSignature Or(cert.Key Is Nothing)) Then
res = ("The certificate must support digital " + _
"signatures and have a private key available.")
securityToken = Nothing
Else
securityToken = New X509SecurityToken(cert)
End If
Catch ex As Exception
res = ex.Message
Finally
If Not (store Is Nothing) Then
store.Close()
End If
End Try
Return securityToken
End Function
Do I need some special kind of certificate?
Shouldn't any type of X509 certificate work for signing soap request?
Any help at all is much appreciated. I've been searching the internet for a solution for about a week now. I've seen many who have this problem, but none have posted solutions (with the exception of security permissions, which I don't believe is my problem). Thanks in Advance for all your help.
|
|
|
|
|
|
Hello all,
I am using asp.net 2.0 GridView control. This grid is enabled Paging, i.e like this...
protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)<br />
{<br />
GridView1.PageIndex = e.NewPageIndex;<br />
BindMessageGrid();<br />
}<br />
. This is working fine.
This Grid is having 3 columns(Name,Suject,Date) I am sorting the columns like this...
<br />
protected void GridView1_Sorting(object sender, GridViewSortEventArgs e)<br />
{<br />
int index = GridView1.PageIndex;<br />
DataTable dt = GetDataTable();<br />
DataView dv = new DataView(dt);<br />
<br />
dv.Sort = e.SortExpression + " " + GetSortDirection();<br />
GridView1.DataSource = dv;<br />
GridView1.DataBind();<br />
GridView1.PageIndex = index;<br />
}<br />
This Grid is showing 3 pages. When I click on first page first column(Name), first it is showing in Descending(i.e Z,Y...A) with same 3 pages.
Problem is here...
Now if i will go 2nd page. it is resetting the page.
my Problem is when click on firtColumn sort(by Name) it has to show 3rd page contents in 1st page. if i will go 3rd page, it has to show 1st page contents.
How to Handle this?
anybody any solutions. plz help me will be appriciated
regards
GV Ramana
|
|
|
|
|
hello I want to create controls from coordinates that I have in a data base, as for example a label with properties text, tag.
But that this label is created agreed the coordinates not nesecariamente must be rectangle can be a trapezoid.
thanks for its aid
Juanjo
|
|
|
|
|
Dim newTextBox As New TextBox
newTextBox.Location = New Point(x, y)
newTextBox.Size = New Size(sx, sy)
newTextBox.Text = someText
newTextBox.Tag = someTagValue
Me.Controls.Add(newTextBox)
This is the same way the Forms designer writes the code when you drop a TextBox (or whatever) on a form at design time.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hello Friends,
I am facing a problem in copying a table from SQL SERVER to Access DataBase. I have identical tables in access database to and what i am trying is creating 2 datasets, one is connected to SQL Server DB and another one is connected to Access DB. Now when I use the "Copy" command of dataset to copy data from one dataset to another dataset and then updating the adapter it throws no error but access database doesnt reflects refreshed data.
Do you guys have some working code on this problem.
thanks in advance
Regards
Sheel
Sheel Gohe
|
|
|
|
|
Well, I've never had to do this. And, frankly, don't want to.
Off the top of my head, you can't do this between two different databases because the underlying database types are different. For instance, SQL Server supports the bit type, where Access does not. The Data/Time storage formats are different, different Integer types are supported, Currency, ..., yada, yada, yada. The Copy method will NOT translate this for you.
So, no, I'd say you can't do this using this method. You'd have to read each individual record and field from the source table, translate the data, then put the new data in an Update or Insert query in the Access database.
The other alternative is to construct a DTS job to do the export for you. This will, of course, depend on the Access file being put someplace where the SQL Server can write to it and you can pick it up after the job completes.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I am building a balloon tip and I need to be able to locate all rectangles so that when someone draws on the tip i can relocate it to be within the bounds of the tip.(I want to establish a new starting point (0,0)). It would make it easier for the user instead of having to figure out where 0,0 is and adjust for it. I am only able to do this with controls.
Whenever someone puts a control or draws out of the bounds it cannot be seen.
I am just tring to make it easier.
Can this be done
THANKS
Mark Thibodeaux
-- modified at 17:32 Tuesday 11th April, 2006
|
|
|
|
|
PLEASE dont scream.
Don't write your question in all upper case, and someone might manage to read it.
---
b { font-weight: normal; }
|
|
|
|
|
Hello
Is there any tutorials available for windows media encoding ie converting avi to wmv using visual studio.net 2005 in VB.
I have found SDK in Microsoft site but it runs in Visual Studio 2003 but not in 2005 when the project is converted.
So I need help to get some source code that will convert a avi file to WMV.
Thanks and Regards
Help in need is the help indeed
|
|
|
|
|
Is their a way to include all referenced dlls into the compiled exe file?
/Thaks
Johan
|
|
|
|
|
You could add them as resources. But, you'll need to extract them back to the disk in order to use them.
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)
My: Website | Blog
|
|
|
|
|
Ok,
Well I guess I could but it dont think it would be worth the work it involves. But thanks anyway.
/Johan
-- modified at 9:49 Tuesday 11th April, 2006
|
|
|
|