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

SherKar

@SherKar
About
Posts
46
Topics
29
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Crystal Reports distribution
    S SherKar

    hi, i need to know how to run crystal reports on a machine that dosn't have .Net full pakage , the case i have a program that have many reports that i need it to be installed on machine that have .Net Framework but the crystal reports dosn't run telling me that the keycodeV2.dll not found or not the correct version so can any one help me ??? Ramez Ernest

    C# csharp dotnet help tutorial question

  • Help Plz in that e-mail client
    S SherKar

    hi, i have a problem regarding this piece of code it throw an exception ("time out expired ") can anyone tell me why try { // Write the request Stream reqStream = webRequest.GetRequestStream(); reqStream.Write(requestBytes,0,requestBytes.Length); reqStream.Close(); // Get a response HttpWebResponse webResponse=(HttpWebResponse)webRequest.GetResponse(); if (webRequest.HaveResponse) { // Handle returned cookies foreach(Cookie retCookie in webResponse.Cookies) { bool cookieFound = false; foreach(Cookie oldCookie in ccContainer.GetCookies(destination)) { if (retCookie.Name.Equals(oldCookie.Name)) { oldCookie.Value = retCookie.Value; cookieFound = true; } } if (!cookieFound) ccContainer.Add(retCookie); } // Handle redirection headers if ((webResponse.StatusCode == HttpStatusCode.Found) || (webResponse.StatusCode == HttpStatusCode.Redirect) || (webResponse.StatusCode == HttpStatusCode.Moved) || (webResponse.StatusCode == HttpStatusCode.MovedPermanently)) { WebHeaderCollection headers = webResponse.Headers; return SendRequestTo(requestBytes,new Uri(headers["location"]),credential); } // Read response StreamReader stream = new StreamReader(webResponse.GetResponseStream()); string responseString = stream.ReadToEnd(); stream.Close(); return responseString; } // No response throw new ApplicationException("No response received from host."); } catch(WebException e) { // Error occured Trace.WriteLine("Exception occured " + e.Message); throw new ApplicationException("Exception occured while sending request.",e); }

    C# help debugging

  • e-mail Client problems
    S SherKar

    hi, i Face 2 problems : 1- when i try to connect through my e-mail client it permits some mails to connect either don't i donno why ? 2-string type = mailBoxNode.SelectSingleNode"descendant::hm:special",context).InnerText; string nameUrl = mailBoxNode.SelectSingleNode"descendant::D:href",context).InnerText; int visibleCount = Int32.Parse(mailBoxNode.SelectSingleNode("descendant::D:visiblecount",context).InnerText); int unreadCount = Int32.Parse(mailBoxNode.SelectSingleNode("descendant::hm:unreadcount",context).InnerText); i use this code to get the data about my folders but i need the data of the mails it self i donno what to write for the xpath can any help me please thanks in advance

    C# xml help question

  • Barcode standards
    S SherKar

    hi, i have a big problem concerning reading the Barcode , As after i design it it fails at the test as it dosn't meets the standards so if anyone has any idea about a refrence to that standards plz send it to me thanx in advance

    C# design help

  • strange problem In redirection?
    S SherKar

    i am working on e-payment site and i use string concatination method to send the complete url with the products StrRedirect="https://www2.2checkout.com/2co/buyer/purchase?sid=215387"; if(CheckBox1.Checked) { //StrRedirect=StrRedirect+"&total=35&cart_order_id=12587529"; string Str="&product_id=5&quantity=1"; StrRedirect=StrRedirect+Str; } if(CheckBox2.Checked) { string Str="&product_id=4&quantity=1"; StrRedirect=StrRedirect+Str; } Response.Redirect(StrRedirect,true); but this code send the url but not as i concatinated it it sends it the product ids first then the quantity wich are not applicable to site i send it the url what happened to the url and how it can be solved thanx in advance

    ASP.NET com help question

  • what is the web server?
    S SherKar

    hii i want to know wt is the web server and how it can be started as when i start my app it says it can't be started and as the web server is not started thx

    ASP.NET question sysadmin

  • A problem in insert command?
    S SherKar

    hi, here is the code i told u about oleDbConnection1.Open(); int ActiveState=0; string Date=DateTime.Now.ToString(); string InsNew="insert into users(UserName,Password,FirstName,LastName,count,Email,StreetAddress,City,Country,Active,RegisterDate) values('"+TextBox3.Text+"','"+TxtBxPass.Text+"','"+TxtBxName.Text+"','"+TxtBxLName.Text+"','"+TxtBxYears.Text+"','"+TxtBXMail.Text+"','"+TxtBxAdd.Text+"','"+TxtBxCity.Text+"','"+TxtBxNow.Text+"','"+ActiveState+"','"+Date+"');"; oleDbDataAdapter2.InsertCommand.CommandText=InsNew; oleDbDataAdapter2.InsertCommand.ExecuteNonQuery(); oleDbConnection1.Close();

    ASP.NET help question

  • A problem in insert command?
    S SherKar

    thx for ur concern and i'll send the code asap as it is not available now for me

    ASP.NET help question

  • A problem in insert command?
    S SherKar

    hi , i have a problem in the insert command using oledbdataadapter when i use it it give me an error saying syntax error in insert into can any one suggest an idea plz thx

    ASP.NET help question

  • how to make local connection work on server?
    S SherKar

    hi i made a local connection to accsess and i want to put the application on a server how can i deal with the connection ? 2nd- i have pages made in asp and i want to make code that inserts record in db using asp not asp.net how it can be done ?

    ASP.NET question csharp asp-net database sysadmin

  • deal with Asp
    S SherKar

    but if i want to receive certain parameter from the ASP how would it be ?? as link to something and i want to use the returned id from that link in the ASP.net

    ASP.NET csharp asp-net question

  • deal with Asp
    S SherKar

    hi, i want to know if i have previous site that was developed by ASP and i want to complete something depends on it but with ASP.Net can it work and if it cans how ? thx

    ASP.NET csharp asp-net question

  • deployment setup
    S SherKar

    I want to make an installation package to run at any windows system that doesn't have a .net framework installed on it. I don't know how to include installation of .net framework in this package. Thanks for help.

    .NET (Core and Framework) csharp dotnet sysadmin help tutorial

  • Dll?
    S SherKar

    hi does any one know how can i convert this code that is made by C++ in dll to C# also to be put in dll #define DllExport __declspec( dllexport ) HHOOK h; DllExport extern LRESULT CALLBACK CallWndProc(int nCode,WPARAM wParam,LPARAM lParam) { switch(nCode) { case WM_SIZING: return 0; break; case WM_MOVING: return 0; break; default: return CallNextHookEx(h,nCode,wParam,lParam); } } DllExport extern void InstallHook() { h=SetWindowsHookEx(WH_CALLWNDPROC,CallWndProc,0,0); }

    C# question csharp c++

  • help in dll
    S SherKar

    HHOOK h; LRESULT CALLBACK CallWndProc(int nCode,WPARAM wParam,LPARAM lParam) { switch(nCode) { case WM_SIZING: return 0; break; case WM_MOVING: return 0; break; default: return CallNextHookEx(h,nCode,wParam,lParam); } } void InstallHook() { h=SetWindowsHookEx(WH_CALLWNDPROC,CallWndProc,0,0); } this code if made in mfc dll but i have 2 problems : 1- i dont know if the created DLL is created correctly or not 2- i used this DLL in another app and called InstallHook but a big msg appears said that there is no entry piont for the installhook in the dll if anyone knows anything plz reply me

    C# c++ help

  • window messages hooking???
    S SherKar

    no not my own app but an outside app that i have its handle

    C# help question

  • window messages hooking???
    S SherKar

    hi, i want to to hook a certain msg for a window like moving or sizing, this window is standalone app and i have its handle is there any APIS help me do this ?

    C# help question

  • Direct X transformation?
    S SherKar

    i mean by it the one which the mouse points to it

    C# question

  • Direct X transformation?
    S SherKar

    hi , i have a mesh model and i put it in many places in my app. using the world transformation and i want to detect which mesh is the pointed one but when i point to mesh it only detects the last mesh has been transformed .

    C# question

  • Static Arraylist?
    S SherKar

    ((Offices)(OfficesNames[i])).OfficeAtt= new ArrayList(AllNodes); Offices ->class OfficesNames->array of object of offices officeAtt->arraylist have object of another class called attributes this line of code to intialize the arraylist of attributes of each office for(int i=0;i

    C# data-structures 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