Hey Dave.. Thanks a lot for your support.. it just solves my problem :-D
Zishan Haider
Posts
-
How to access a password protected UNC address? -
How to access a password protected UNC address?Thanks both of you.. I am off from work now.. will try Judah's suggestion tomorrow. Dave what credentials are you talking about.. can you please elaborate a bit more.. Let me be more precise. I have an application running on Windows XP Professional trying to access a shared file located on a network drive which is running Windows Server 2000. What's that "other method" :confused: Can you elaborate? Thanks Zishan
-
How to access a password protected UNC address?Thanks for the reply.. yes right but then I try to access file like this.. a windows login prompt appears and I have to enter username and password manually.. I want this manual thingi to be handled by code. Some way to enter this Windows Authentication. Regards Zishan
-
How to access a password protected UNC address?Hello, I am accessing a shared file through UNC address over LAN. Whenever I do that, the windows login prompt appears. I need to bypass this prompt though C# code. How can I do it? Regards, Zishan
-
.Net Application not Runing on Test SystemI have intalled .Net Framework 1.1 With SP1 on my test PC which is Running on Windows XP Home Edition and Windows 2000 Professional. My app crashes with some unknown Exception. I have tried a simple Windows App with just a few default controls it still doesnt work. Error Shows Common Language Runtime Debugging Services Application Has Generated an exception that could not be handled ProcessID = 0x128(288) ThreadID= 0x546(???) What could be wrong with it I have tried Both debug and release versions Zishan Haider
-
.Net Application not Runing on Test SystemI have intalled .Net Framework 1.1 With SP1 on my test PC which is Running on Windows XP Home Edition and Windows 2000 Professional. My app crashes with some unknown Exception. I have tried a simple Windows App with just a few default controls it still doesnt work. Error Shows Common Language Runtime Debugging Services Application Has Generated an exception that could not be handled ProcessID = 0x128(288) ThreadID= 0x546(???) What could be wrong with it I have tried Both debug and release versions Zishan Haider
-
Crystal Reports -> Sorting DataHey Craig, thanks a lot man.. you saved my life.. although I don't have t.EnableSaveDataWithReport property but the problem is now solved.. Thanks for your help! :) Zishan
-
Crystal Reports -> Sorting DataCraigo, I tried what you told me.. it is picking up all the records in the table without any order. I commented the t.SetDataSource line.. still the same result. I am not sure if this is the right way to define Data Source. Here is my code : Report2 t = new Report2(); string Query = "Select * from Orders order by ordertype asc"; SqlComm.CommandText = Query; SqlDataAdapter da = new SqlDataAdapter(SqlComm); DataSet data = new DataSet(); da.Fill(data); t.SetDataSource(data); this.Viewer.ReportSource = t; Zishan
-
Crystal Reports -> Sorting DataThanks for replying. There should be a way. I got a sample code, Its in VB, I tried it in C# but for some reason.. it doesn't work for me. Here's the code : Dim crSortDirection As SortDirection Dim crDatabaseFieldDefinition As DatabaseFieldDefinition Dim crSortField As SortField Dim iSortItem As Integer = 0 crDatabaseFieldDefinition = crReportDocument.Database.Tables(0).Fields(6) crSortField = crReportDocument.DataDefinition.SortFields(6) crSortField.Field = crDatabaseFieldDefinition 'crSortField.SortDirection = SortDirection.AscendingOrder crSortField.SortDirection = SortDirection.DescendingOrder There is no explanation available for the code. No matter what SortField I pass, it keeps throughing CrystalDecisions.CrystalReports.Engine.InvalidArgumentException -> Invalid SortNumber. Can you explain now? Zishan
-
Crystal Reports -> Sorting DataHello, I am a newbie in Crystal Reports. I need to sort the report based on the column that the user sets in the windows form. How do I do it? I've been googling with virtually no help :( Thanks in advance. Regards, Zishan
-
C# MySQL 5.0 and storeprocedurewell I dont' know how do you call them .. but certainly MySql does support stored procedures form v.4.1 onwards!
-
socket problemand you can't if you're using TcpListener Regards
-
Showing MDIChild modally?you can't make it a modal but you can play a trick like I did. Do not make it a MdiChild. Set its ShowInTaskBar to false.. open it modally.. (ShowDialog) that will do exactly what you want.. Regards
-
UdpClient classThanks Dave. The problem is now solved.. I configured the NAT settings.. ;)
-
UdpClient classOne thing more... Udp being connectionless, the client at the other end is just sending messages to the public IP. How does it know that the message has to be forwarded to the 192.168.0.34 ?? There has be to some information at the sending end that the message is for 192.168.0.34 (local) on 205.166.6.33 (public IP) I am so confused :confused:
-
UdpClient classThanks for the reply. Ok you got it right.. my client has a local IP address 192.168.x.x. How do I change the configuration of NAT to forward the port?? Regards
-
UdpClient classMy chat application uses UdpClient class. It is working fine on LAN as well as over the internet. I can not recieve messages in one senerio, when I send message over the internet and the receiving party is indirectly connected to the internet like using a shared internet connection over LAN. How do I reach those clients? There is no server program and both parties are connected directly through IPs. Regards
-
UdpClient ProblemI have a chat application that uses UdpClient. Ok.. now I want to send messages to the clients who are indirectly connected to the internet.. like a shared connection over LAN. What should I add besides the regular steps? Regards
-
Sql Query Required!Well.. you're right couldn't do it in SQL without a holidays table. However I did it in my C# program. I selected distinct dates from table ordered by Date Desc. Then I deleted every record with the date from my select query ignoring the first three.. :-O Yes I know its poor performance, but this chunk has to run once every morning so I don't need any major performance here. And I had to do it without A holidays table. Thanks for your help :) Regards Zishan
-
Sql Query Required!Can't I use some kind of loop in the SQL :confused: