Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
Z

Zishan Haider

@Zishan Haider
About
Posts
42
Topics
18
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to access a password protected UNC address?
    Z Zishan Haider

    Hey Dave.. Thanks a lot for your support.. it just solves my problem :-D

    C# question csharp tutorial

  • How to access a password protected UNC address?
    Z Zishan Haider

    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

    C# question csharp tutorial

  • How to access a password protected UNC address?
    Z Zishan Haider

    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

    C# question csharp tutorial

  • How to access a password protected UNC address?
    Z Zishan Haider

    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

    C# question csharp tutorial

  • .Net Application not Runing on Test System
    Z Zishan Haider

    I 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

    C# csharp dotnet debugging help question

  • .Net Application not Runing on Test System
    Z Zishan Haider

    I 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 (Core and Framework) csharp dotnet debugging help question

  • Crystal Reports -> Sorting Data
    Z Zishan Haider

    Hey 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

    C# question algorithms help

  • Crystal Reports -> Sorting Data
    Z Zishan Haider

    Craigo, 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

    C# question algorithms help

  • Crystal Reports -> Sorting Data
    Z Zishan Haider

    Thanks 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

    C# question algorithms help

  • Crystal Reports -> Sorting Data
    Z Zishan Haider

    Hello, 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# question algorithms help

  • C# MySQL 5.0 and storeprocedure
    Z Zishan Haider

    well I dont' know how do you call them .. but certainly MySql does support stored procedures form v.4.1 onwards!

    C# csharp database mysql help

  • socket problem
    Z Zishan Haider

    and you can't if you're using TcpListener Regards

    C# sysadmin help question json

  • Showing MDIChild modally?
    Z Zishan Haider

    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

    C# question

  • UdpClient class
    Z Zishan Haider

    Thanks Dave. The problem is now solved.. I configured the NAT settings.. ;)

    C# question sysadmin lounge

  • UdpClient class
    Z Zishan Haider

    One 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:

    C# question sysadmin lounge

  • UdpClient class
    Z Zishan Haider

    Thanks 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

    C# question sysadmin lounge

  • UdpClient class
    Z Zishan Haider

    My 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

    C# question sysadmin lounge

  • UdpClient Problem
    Z Zishan Haider

    I 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

    C# help question lounge

  • Sql Query Required!
    Z Zishan Haider

    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

    Database database help question

  • Sql Query Required!
    Z Zishan Haider

    Can't I use some kind of loop in the SQL :confused:

    Database database help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups