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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
S

Suj_78

@Suj_78
About
Posts
44
Topics
32
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Unable to access DatePicker's SelectedDate property
    S Suj_78

    Hi I have created a class called DatePickerEx.cs that inherits from DatePicker class. Then I created a UserControl called CustomDatePicker.xaml that references the DatePickerEx.cs class in the xaml code.If I bind the "selecteddate" property in xaml at this point, it works good. So far so good. Now, I reference the CustomDatePicker.xaml usercontrol inside another UserControl, at this point I have no way to set the "SelectedDate" property on the new UserControl called CustomDatePicker.xaml, can someone explain me how can I expose the DatePickerEx.cs->DatePicker.cs SelectedDate property via the new userControl CustomDatePicker.xaml to any other consumers of CustomDatePicker.xaml. I need to use some kind of Dependency Property to achive this? Your help will be highly appreciated. Thank you.

    happy coding!

    WPF question wpf help

  • Cannot send all mails by SmtpClient.Send method until process is killed
    S Suj_78

    hi guys, i am stuck with this problem for last 2 days, i have set the timeout property to 60 , still it does not send emails untilli uninstall the service. please help!

    happy coding!

    C# csharp help asp-net sysadmin testing

  • Creating a web page using dynamic data from xml file?
    S Suj_78

    Hello Guys, I want to build a web page that looks like some sort of search web site with navigational boxes(like by people, by place, etc) on left hand side and actual document content on the centre of the page, all this data will come from a service call as an xml file dynamically. So I am looking for some help on which controls I can use on asp.net 2.0 or 3.5 to pick the data segments from the xml file and display it on the web page and also be able to do post backs if i want to navigate on any control. Can anyone help me with any example code to achieve this? Many Thanks

    happy coding!

    ASP.NET csharp asp-net xml help tutorial

  • Enumerating a domain or network to get collection of excel files
    S Suj_78

    Hi Guys, I am wondering if it is possible to search all the computers within a domain or a network to discover all the excel files and then store them in a common location? I have seen some examples of searching computers in a domain but didn't find any example for file search in a domain. Can somebody help please? Thanks

    happy coding!

    C# sysadmin algorithms help tutorial question

  • Using Microsoft.Office.Interop.Excel
    S Suj_78

    Hello , I am writting an application in which I need to find details about excel files. One of the properties I am after is the owner property of the excel file, this should be the one that you can see when you right click the excel file and choose proerties, then go to Details Tab, under File's section, there will be owner name. How can I get handle on this name at run time using Microsoft.Office.Interop.Excel, i think it should be as simple as finding a creator of the file by using Microsoft.Office.Interop.Excel.Application.Creator but there is not such property like owner. Can somebody help me with this. Thanks in advance.

    happy coding!

    C# com help question

  • To find if an excel file has got VBA code in it irrespective of the version of excel(it can be any version of excel)
    S Suj_78

    Hi Guys, I am trying to find a property or method in Microsoft.Office.Iterop.Excel which will help me make a decision whether an excel file (can be any version of excel) has got any VBA code or macro. Can anyone help me with this. So far I have found the following property that deals only with excel 4.0 worksheets: Excel4IntlMacroSheets 'Returns a Sheets collection that represents all the Microsoft Excel 4.0 international macro sheets in the specified workbook. ' Excel4MacroSheets 'Returns a Sheets collection that represents all the Microsoft Excel 4.0 macro sheets in the specified workbook. ' Any help will be appreciated. Thanks

    happy coding!

    C# help announcement

  • WPF hyperlink Click event
    S Suj_78

    Hi Guys, I have created two xaml files , 1. Page1.xaml and 2. Page2.xaml Page1.xaml has a Hyperlink with click event associated with a method as below: This is a hyperlink to page 2 In page1.xaml.cs, i have created the method hyperlink_Clicked as below: private void hyperlink_Clicked(object sender,System.EventArgs erg) { System.Uri myUri = new Uri("Page2.xaml",System.UriKind.Relative ); myLink.NavigateUri = myUri; } However, when i click on hyperlink for the first time, it does not navigate to page2, but if i click second time it goes to page2. Am i missing anything? late Binding or early binding? Any help , appreciated. Thanks happy coding!

    WPF wpf csharp wcf help question

  • Excel GoalSeek Method in c#
    S Suj_78

    Hi Guys I am trying to write GoalSeek method of excel in c#, can anyone help me to get the algorithm behind Goal Seek, do not give me the VB examples, need something more generic. Thanks in advance.

    happy coding!

    C# csharp algorithms help

  • Passing query strings between multiple ascx contols contained within Master page
    S Suj_78

    Guys, I am having nightmare in figuring out how i can pass the initial search phrase from the seach page to subsequent ascx controls, i can see it appearing on the first ascx control contained in master page, when i load the subsequent ascx control it gets lost, i need to capture the search phrase on first page and keep passing it to as QueryString to other subsequent pages by appending it to the URL of the page. Can anyone help? Thanks

    happy coding!

    ASP.NET database help question

  • Random Number genration in c#
    S Suj_78

    Thanks Colin.

    happy coding!

    C# csharp question lounge

  • Random Number genration in c#
    S Suj_78

    Hi Guys, The random number in c# using System.Random.NextDouble() is not returning a good set of random numbers over 10000 iterations, there seems to be concentration for a consecutive iterations on set of values, my code looks like this System.IO.StreamWriter file = new System.IO.StreamWriter("c:\\test.txt"); for (int i=0;i<10000;i++) { RandomNumber = new Random(); string lines = "iterationCount"+ ":"+" "+i.ToString()+ " "+RandomNumber.NextDouble().ToString(); file.WriteLine(lines); //} } file.Close(); is there a better way of generatin random numbers in c#? Many Thanks

    happy coding!

    C# csharp question lounge

  • Missing ASP.NET Templates from VS 2005 IDE
    S Suj_78

    Hi Guys, I installed Visual Studio 2005 on windows 2003 server and I am missing the ASP.NET Item Templates for C# when I try to create a new project. I have done the following so far but no joy: 1) Close VS 2005 2) Delete the content of folder / Microsoft Visual Studio 8\Common7\IDE\ItemTemplatesCache 3) excute prompt command : devenev.exe /InstallVsTemplates I also checked the following as well: open iDE then go TOOLS -> OPTIONS -> Projects and Solutions -> General in the 'visual studio user items templates location:' edit control add the path to the default installation item templates (on my system its C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates\CSharp\1033 cos im using C# :¬) But no joy. I spent the whole day today to solve this but still pulling my hair. Anyone's help will be much appreciated, Thanks

    happy coding!

    Visual Studio csharp visual-studio asp-net wpf sysadmin

  • Missing ASP.NET Templates in Visula Studio 2005
    S Suj_78

    Hi Guys, I installed Visual Studio 2005 on windows 2003 server and I am missing the ASP.NET Item Templates for C# when I try to create a new project. I have done the following so far but no joy: 1) Close VS 2005 2) Delete the content of folder / Microsoft Visual Studio 8\Common7\IDE\ItemTemplatesCache 3) excute prompt command : devenev.exe /InstallVsTemplates I also checked the following as well: open iDE then go TOOLS -> OPTIONS -> Projects and Solutions -> General in the 'visual studio user items templates location:' edit control add the path to the default installation item templates (on my system its C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates\CSharp\1033 cos im using C# :¬) But no joy. I spent the whole day today to solve this but still pulling my hair. Anyone's help will be much appreciated,

    happy coding!

    ASP.NET csharp visual-studio asp-net wpf sysadmin

  • Problem accessing Exchange server from windows vista [modified]
    S Suj_78

    Hi Guys, I am trying to access the inbox on Exchange Server 2003 by writting a following code in Visual Studio 2005 on windows vista business edition. ADODB.Connection oCn = new ADODB.Connection(); ADODB.Recordset oRs = new ADODB.Recordset(); ADODB.Fields oFields; ADODB.Field oField; // TODO: string sFdUrl = @"https://exchange server/owa/"; oCn.Provider = "MSDAIPP.DSO";// "exoledb.datasource"; oCn.Open(sFdUrl, @"domain\user", "Password", -1);---------- This is wehre I am getting an exception. The exception says : {"Provider cannot be found. It may not be properly installed."} Can you help to solve this issue please? Thanks -- modified at 7:46 Friday 19th October, 2007

    happy coding!

    C# help csharp visual-studio sysadmin business

  • Extracting messages from outlook inbox and transffering it to a documents folder
    S Suj_78

    Hi Guys, I am currently being asked to write a code to read the messages from inbox and transfer them to another folder ? So basically it is extracting emails from inbox and putting them in a another location. Can you help how I can achieve this by using CDO objects or Windows Managment Information API in c#. Thanks Sujit

    happy coding!

    C# csharp json help question

  • Web part to read number of unread messages in outlook 2007 inbox
    S Suj_78

    Hi I am using VS 2005 and I need to write a web part to read number of unread email messages from the exchange server by passing the user credentials from share point portal (Single Sign On Service). Does any body know how to achive this? Thanks Sujit happy coding!

    ASP.NET visual-studio sysadmin tutorial question

  • can any one tell me whats wrong in this code?
    S Suj_78

    OK, Can you do the following: 1. Take out System.Collections for time being 2. Add the default constructor like public Bank(){}. 3. Comment out all your properties get and set methods. 4. Start building the code and start uncommenting each of the properties and then see what error message you get and at what stage , this will enable to to understand the problem better. Sorry cann't help more than this because don't have IDE in front of me, Hope you sort out your problem,

    happy coding!

    C# question

  • can any one tell me whats wrong in this code?
    S Suj_78

    what error message are you getting? Did you declare the constructor in your class?

    happy coding!

    C# question

  • Queue And Stack class without using System.Collections
    S Suj_78

    Hi, Has anyone written or have found code that creates a Queue(FIFO) and Stack(FILO) class without using System.Collections (1.1) and without using generics(2.0) Any sample code will be much appreciated. Thanks

    happy coding!

    C# data-structures

  • Visual Fox pro database to Sql Server
    S Suj_78

    hi Guys, I am analysing the architecture for creating the following: To load data from Visual Fox pro table into Sql table through C# Com+. Steps I am after : 1. Create a method to read the data from Fox pro and convert it into an xml file. 2. Read the XML file and load into the table in Sql Server. But I do not know which namespace to use to read data from Fox pro database and generate the xml file. Can you guys please help??? Thanks Sujit

    happy coding!

    C# database csharp sql-server com sysadmin
  • Login

  • Don't have an account? Register

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