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
S

ShafiqA

@ShafiqA
About
Posts
25
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Create Proxy class of XSD file
    S ShafiqA

    Hello friends I want to use wcf service in my client application. I got .xsd file but don't know how to call them. Please let me know how to create proxy of xsd to call service in my application. Using svcutil/dconly i can generate cs file but how can i generate both (.cs & config) file pls help me Thanks & Regards Shafiq

    WCF and WF csharp wcf help tutorial question

  • Help with serial data display
    S ShafiqA

    No. I am only concatenating two string like... string strValue="abc" + ";" + "xyz";

    C# csharp help tutorial question

  • Installing a Exe
    S ShafiqA

    Make a Setup and Deployment to make installer package.. In that way you can have in control panel too.

    C# help announcement workspace

  • Send String to another application(Un-managed) using C#
    S ShafiqA

    hi Erik Bad luck for me but anyhow thanks for nice reply.. If you get any other solution please let me know. Thanks

    C# help csharp c++

  • Send String to another application(Un-managed) using C#
    S ShafiqA

    Hello Erik Here are my code C# code to send message... public const int WM_COPYDATA = 0x004a; [StructLayout(LayoutKind.Sequential)] public struct COPYDATASTRUCT { [MarshalAs(UnmanagedType.I4)] public int dwData; [MarshalAs(UnmanagedType.I4)] public int cbData; [MarshalAs(UnmanagedType.LPStr)] public string lpData; } string reqFiles ="Some value"; COPYDATASTRUCT data = new COPYDATASTRUCT(); data.dwData = 0; data.cbData = reqFiles.Length * 2; IntPtr lpStruct = Marshal.AllocHGlobal(Marshal.SizeOf(data)); Marshal.StructureToPtr(data, lpStruct, false); Process[] processes1 = Process.GetProcessesByName("ProcessID"); IntPtr hTarget = processes1[0].MainWindowHandle; SendMessage(hTarget, WM_COPYDATA, this.Handle, lpStruct); //-----------------This is to receive message in C++ ------------------------------------ LRESULT APIENTRY MAxSubclassProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { if (uMsg==WM_COPYDATA) { char str[256]; COPYDATASTRUCT *cds; cds=(COPYDATASTRUCT *)lParam; // receiving/handling message } } If anything needed pls let me know.. Please help me to run in windows 7 machine. Regards shafiq

    C# help csharp c++

  • Send String to another application(Un-managed) using C#
    S ShafiqA

    Hello Expert I am facing a a problem from couple of weeks but net getting solution for that The stuation is .. I am sending a string from one application(written in c#) to another application(written in C++) in same machine using WM_COPYDATA. It is going fine with windows xp but while i am trying to run on windows 7 machine its going blank string (c++ application received null value). can you please help me out to solved this issue, i am unable to understand what could be the reason I will appriciate your help Thanks & Regards Shafiq

    C# help csharp c++

  • Read XML in C#
    S ShafiqA

    hello guys, I am reading xml file and showing in grid in c# but now i want to read specific record(node) of that xml file like where clouse in sqlserver Example <Root> <Data id="1" Name="aaa" Phone="852963" Gender="Male" /> <Data id="2" Name="bbb" Phone="123456789" Gender="Female" /> <Data id="3" Name="ccc" Phone="987654" Gender="Male" /> <Data id="3" Name="ddd" Phone="7676767" Gender="Male" /> </Root> i need to read the first(TOP)id record and who's Gender="male". how to do this Regards Shafiq

    XML / XSL tutorial csharp css xml

  • Detect Java Installed in machine
    S ShafiqA

    HI guys how can i check whether java installed or not in client machine when page is being loading using Javascript, bcz i have html page and using applet in this page to show something. basically need to check if java installed show apple tag else hide that. Thanks in adv Shafiq

    JavaScript java javascript html question

  • .net (Pass data from web application to static IP)
    S ShafiqA

    What is other way. can you please explain me Thanks Shafiq

    .NET (Core and Framework) question csharp com

  • .net (Pass data from web application to static IP)
    S ShafiqA

    Hi Pete. Thanks for reply me. Can i accomplish this task without WCF, Because i am not very much aware of WCF. Please suggest. Shafiq

    .NET (Core and Framework) question csharp com

  • .net (Pass data from web application to static IP)
    S ShafiqA

    hi guys I don't know this is right place to ask this question. I have a situation. lets say there is a website called "www.abc.com" i want to send some string from that website to a remote local machine application through static IP(which is the ip of that particular machine). how can i complete this task. please share your idea. Regards... Shafiq

    .NET (Core and Framework) question csharp com

  • Check FIle Exist in Javascript
    S ShafiqA

    Hey experts I am facing a problem from last couple of week,I am not finding any solution for that. I need to check some file in local machine like- "c:\test.txt" through java script when page is getting load,so i can show/Hide a div accordingly. although i tried var fso = new ActiveXObject("Scripting.FileSystemObject"); // if condition to check whether the specified file exists or not. if(fso.FileExists("C:\\test.txt")) but its work in IE only after changing some setting in internet option, which is not secure. Can anybody give right solution for all browser It would be great Thanks in Adv.. Shafiq

    JavaScript java javascript tools help

  • Check file in JavaScript
    S ShafiqA

    Hey koolprasad Thanks for reply. I already tried this it works only in case of IE (after change security setting in internet option Activexcontrol safe enable=enable which is not safe) and in another browser its not working... what i am missing or what i need to do to work in all browser, without change in setting becouse client is not going to change in setting. please share ur Idea Thanks... Shafiq

    JavaScript javascript tutorial question

  • Check file in JavaScript
    S ShafiqA

    Hi guys. How can i check Wheather file exist in paricular location or not i saw some example but its not working. Your answer would be helpful for me... Thanks Shafiq

    JavaScript javascript tutorial question

  • Redirect WebPage through Window Button in C#
    S ShafiqA

    Hey Goutam Thank you. Its working fine. Now i am asking little more if the page is already open and button click can we reload the same page instead of opening new window. it will be helpful for me. Thanks again Shafiq

    C# csharp asp-net com

  • Redirect WebPage through Window Button in C#
    S ShafiqA

    Hi guys I want to redicet a web page when user click on button in window based application using C#, Like we do in asp.net "Response.Redirect("http://www.codeproject.com"). Is it possible and how Thanks & Regards Shafiq.....

    C# csharp asp-net com

  • Upload And Crop Image in asp.net
    S ShafiqA

    Hi guys. How can i crop a image while uploading in asp.net using c#. Please help shafiq

    ASP.NET csharp asp-net help question

  • Process in C# (Open exe)
    S ShafiqA

    na.. Its not working for me.

    C# csharp

  • Process in C# (Open exe)
    S ShafiqA

    Hey Jinal Desai Where i need to give the path of my exe file which i need to open and can check that particular process running or not instead of checking all running process on the computer.

    C# csharp

  • Process in C# (Open exe)
    S ShafiqA

    Hi Guy, I need to open exe through C#. I am able to open exe by writing code System.Diagnostics.Process.Start("C:\Program Files\abc\xyz.exe"); but now I need to check if it is already open then no need to run this code because it will reopen. basically need to check whether its open or not, open only if not open.... Thanks&Regards Shafiq...

    C# csharp
  • Login

  • Don't have an account? Register

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