|
To create an app with dockable windows and ribbons you will need a good controls suite with those tools, available from companies such as divelements[^], Infragistics[^], dotnetmagic[^]. And no doubt many more can be found via google[^].
If you have knowledge, let others light their candles at it.
Margaret Fuller (1810 - 1850)
www.JacksonSoft.co.uk
|
|
|
|
|
Find out how SharpDevelop is built.
|
|
|
|
|
I have already devloped a MLM website in asp 3.0.Its Become slow gradually with increasing records in database.
>After 7000 records in database,when we generate account report.its is not generating.
>for that reason i planning to redesign in asp.net.
>But i am confused what database technic i have to use so that it become faster
|
|
|
|
|
Use SQL Server 2008 or Oracle 11g.
There are other factors that determine speed, like the structure of the database, indexes on your tables, the code you write to retrieve data, etc.
|
|
|
|
|
Does anybody have an example on how to cascade 3 combo boxes together in vb.net
Thanks
SteveH
|
|
|
|
|
What do you mean by cascading comboboxes ?
|
|
|
|
|
This was an expression i heard, but i beleive it is the binding of 2 or 3 comboboxes together. I found a site that gives an example. thanks for the reply
Steve
|
|
|
|
|
Hi, I'm trying to do the same with a couple of Comboboxes in VB.NET! Can you post the site you found your example on please.
Thanks,
Orbie
|
|
|
|
|
I am creating a Crystal report file in VB.NET [c# CODING] by posting values from a dataset .TO increase the speed of printing I would like to export the rpt file to Text file with the same alignment in the rpt file, but i could not find any option to export to TXT file.
Pls help As early as possible
Thanks
Mohanraj.S
|
|
|
|
|
u can't export crystal report to txtfile, instead create a structure of u r output and pass it text file.
|
|
|
|
|
The first time I hear something being developed in VB.NET with C# code. Great.
|
|
|
|
|
Here is the code:
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create("http://www.amazon.com/gp/help/customer/display.html");
request.CookieContainer = new CookieContainer();
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Console.WriteLine("All headers:");
for (int i = 0; i < response.Headers.Count; ++i )
{
Console.WriteLine("{0}: \n {1}", response.Headers.Keys[i], response.Headers[i]);
}
Console.WriteLine("");
Console.WriteLine("All cookies:");
foreach (Cookie cookie in response.Cookies)
{
Console.WriteLine("{0}: {1}", cookie.Name, cookie.Value);
}
here is the output:
All headers:
x-amz-id-1:
0P09T2EKQ1NZCTH6JTK8
x-amz-id-2:
goS/ANFrq3GUOuMXYT3zBq5SfqNM5CfI
Vary:
Accept-Encoding,User-Agent
Content-Type:
text/html; charset=ISO-8859-1
Date:
Wed, 11 Nov 2009 09:43:28 GMT
P3P:
policyref="http://www.amazon.com/w3c/p3p.xml",CP="AMZN "
Set-Cookie:
session-id-time=1258531200l; path=/; domain=.amazon.com; expires=Wed Nov 18 08:
00:00 2009 GMT,session-id=180-8758643-6589604; path=/; domain=.amazon.com; expir
es=Wed Nov 18 08:00:00 2009 GMT
Server:
Server
Transfer-Encoding:
chunked
All cookies:
Why there are no cookies in collection while there are Set-Cookie headers?
Why the same code works with healthnet.com? (commented URL)
|
|
|
|
|
The reason found: this is due to incorrect expires date format of Amazon cookies.
|
|
|
|
|
Sir
i want to create crystal report with visual studio 2005 i made datasource
but windows form cant show the data.
following steps i did.
1. select file-new-project-windowsform1
2. Datata;add new datasource; "created a datasource"
3.select project sloution>>new item>;crystal report
4. select crystal report viewer from tools and paste on windows form1
5. select report viewer >properties>source>.rpt
but when i run my report only headings are showing no data is showing. and please tell me
how can i edit my sql query
thxxxx a lot
|
|
|
|
|
Sounds like you need to start by learning how to make crystal reports. I suggest following a few tutorials[^].
If you have knowledge, let others light their candles at it.
Margaret Fuller (1810 - 1850)
www.JacksonSoft.co.uk
|
|
|
|
|
i want to display the fname, lname and address whenever i select a customer id in a dropdownlist.....can any body help me what code i have to write against the dropdownlist's action in the .cs file ?
"ASP.NET"
this is the xml file code
<?xml version="1.0" encoding="utf-8" ?>
<root>
<customer id="1">
<fname>Tahir</fname>
<lname>Nasir</lname>
<address>3 Kingston Road, Toronto, Canada</address>
</customer>
<customer id="2">
<fname>Atif</fname>
<lname>Ramu</lname>
<address>983 Damujs park</address>
</customer>
<customer id="3">
<fname>Bill</fname>
<lname>Horton</lname>
<address>9 cars diver</address>
</customer>
<customer id="4">
<fname>Kajoor</fname>
<lname>Tree</lname>
<address>1 New homes drive</address>
</customer>
<customer id="5">
<fname>Andy</fname>
<lname>Patel</lname>
<address>786 Ahmadiyya Ave, Maple, ON L6A 3A2</address>
</customer>
</root>
|
|
|
|
|
Use LinqToXml, or even JavaScript on the client side, to locate the proper element. There is an enormous amount of information available on this topic, what have you tried so far?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi......Please Some One Help Me To Decryption.....i am using asp.net(3.5)code....my code is given below.....it showing one exception("System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.").....so plz someone help me that how i can overcome this problem.....my code is given below.....
Public Shared Function Decrypt(ByVal TextToBeDecrypted As String) As String
Dim RijndaelCipher As RijndaelManaged = New RijndaelManaged()
Dim Password As String = ide
Dim EncryptedData() As Byte = Convert.FromBase64String(TextToBeDecrypted)
Dim Salt() As Byte = Encoding.ASCII.GetBytes(Password.Length.ToString())
'Making of the key for decryption
Dim SecretKey As PasswordDeriveBytes = New PasswordDeriveBytes(Password, Salt)
'Creates a symmetric Rijndael decryptor object
Dim Decryptor As ICryptoTransform = RijndaelCipher.CreateDecryptor()
Dim memoryStream As MemoryStream = New MemoryStream(EncryptedData)
'Defines the cryptographics stream for decryption.THe stream contains decrpted data
Dim cryptoStream As CryptoStream = New CryptoStream(memoryStream, Decryptor, CryptoStreamMode.Read)
Dim PlainText() As Byte = New Byte(EncryptedData.Length) {}
/****Problem Create Here Below Line******/
Dim DecryptedCount As Integer = cryptoStream.Read(PlainText, 0, PlainText.Length)
/*****************************************************************/
memoryStream.Close()
cryptoStream.Close()
'Converting to string
Dim DecryptedData As String = Encoding.Unicode.GetString(PlainText, 0, DecryptedCount)
Return DecryptedData
End Function
|
|
|
|
|
|
hello every1 , am new to programming. am doin my dissertation on cd database in C#. my software should retrieve information from a cd that is manually put into cd drive. software should copy cd info like the artist , name, song , etc into a database.
This is where am stuck. am havn problems copying the cd info successfully. now my deadline is in just 1month. This code below was workin few days ago .. now it isnt.
PLS I NEED HELP.. AM DESPERATE..
Imports System
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
Imports System.Text
Imports System.Windows.Forms
Namespace CdRomManagement
Public Partial Class Form1
Inherits Form
Public Sub New()
InitializeComponent()
End Sub
Private Sub axWindowsMediaPlayer1_CdromMediaChange(ByVal sender As Object, ByVal e As AxWMPLib._WMPOCXEvents_CdromMediaChangeEvent)
axWindowsMediaPlayer1.currentPlaylist = axWindowsMediaPlayer1.cdromCollection.Item(e.cdromNum).Playlist
axWindowsMediaPlayer1.Ctlcontrols.play()
'this.textBox1.Text = axWindowsMediaPlayer1.currentMedia.getItemInfo("Name");
Me.textBox1.Text = ("Name: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("Name")) + Environment.NewLine
Me.textBox1.Text += ("author: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("author")) + Environment.NewLine
Me.textBox1.Text += ("Title: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("Title")) + Environment.NewLine
Me.textBox1.Text += ("Album: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("Album")) + Environment.NewLine
Me.textBox1.Text += ("copyright: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("copyright")) + Environment.NewLine
Me.textBox1.Text += ("Artist: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("Artist")) + Environment.NewLine
Me.textBox1.Text += ("Genre: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("Genre")) + Environment.NewLine
Me.textBox1.Text += ("Bitrate: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("Bitrate")) + Environment.NewLine
Me.textBox1.Text += ("Abstract: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("Abstract")) + Environment.NewLine
Me.textBox1.Text += ("bitRate: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("bitRate")) + Environment.NewLine
Me.textBox1.Text += ("duration: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("duration")) + Environment.NewLine
End Sub
End Class
End Namespace
modified on Wednesday, November 11, 2009 2:22 AM
|
|
|
|
|
mimi8469 wrote: am doin my dissertation on cd database in C#.
You do realise that your code isn't C# don't you? I can't read the sample either because it is too spaced out - please use the <pre> tags around the sample code and format it so that it can be read.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
yes i know its in vb.net. but i can easily convert it to c# with a special software. I just really need help with the copying of cd contents pls. the re-formatted version is below. would really appreciate it.
<code> Imports System
<code>Imports System.Collections.Generic
<code>Imports System.ComponentModel
<code>Imports System.Data
<code>Imports System.Drawing
<code>Imports System.Text
<code>Imports System.Windows.Forms
<code>Namespace CdRomManagement </code>
<code>Public Partial Class Form1
Inherits Form
Public Sub New()
InitializeComponent()
End Sub
<code>Private Sub axWindowsMediaPlayer1_CdromMediaChange(ByVal sender As Object, ByVal e As AxWMPLib._WMPOCXEvents_CdromMediaChangeEvent) </code>
<code> axWindowsMediaPlayer1.currentPlaylist = axWindowsMediaPlayer1.cdromCollection.Item(e.cdromNum).Playlist </code>
<code>axWindowsMediaPlayer1.Ctlcontrols.play() </code>
<code>'this.textBox1.Text = axWindowsMediaPlayer1.currentMedia.getItemInfo("Name");</code>
<code> Me.textBox1.Text = ("Name: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("Name")) + Environment.NewLine </code>
<code> Me.textBox1.Text += ("author: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("author")) + Environment.NewLine </code>
<code> Me.textBox1.Text += ("Title: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("Title")) + Environment.NewLine </code>
<code>Me.textBox1.Text += ("Album: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("Album")) + Environment.NewLine </code>
<code>Me.textBox1.Text += ("copyright: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("copyright")) + Environment.NewLine </code>
<code>Me.textBox1.Text += ("Artist: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("Artist")) + Environment.NewLine </code>
<code>Me.textBox1.Text += ("Genre: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("Genre")) + Environment.NewLine </code>
<code>Me.textBox1.Text += ("Bitrate: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("Bitrate")) + Environment.NewLine </code>
<code>Me.textBox1.Text += ("Abstract: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("Abstract")) + Environment.NewLine </code>
<code>Me.textBox1.Text += ("bitRate: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("bitRate")) + Environment.NewLine </code>
<code> Me.textBox1.Text += ("duration: " & axWindowsMediaPlayer1.currentMedia.getItemInfo("duration")) + Environment.NewLine</code>
End Sub
End Class
End Namespace
|
|
|
|
|
Waw. It is looking much much better now. I wouldn't change a single character, it would only ruin the subtle balance you created.
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
|
|
|
|
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Well, you've got an event handler here, axWindowsMediaPlayer1_CdromMediaChange. Does it get called? Do you have a hookup on the event, e.g.
axWindowsMediaPlayer1.OnCdromMediaChange += new CdromMediaChange(axWindowsMediaPlayer1_CdromMediaChange);
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|