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

snouto

@snouto
About
Posts
189
Topics
117
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Database Replication
    S snouto

    Dear All, I have a Point of sale system (Desktop application) , this system will be deployed on three different branches and one factory branch , we have also a dedicated server hosted online ,all places including the dedicated server having the same schema , i would like to replicate the new changes from branches and factory to dedicated server and vice versa , i tried to use merge replication but in vain , we could not set it up properly , we faced a problem with user account permissions , we got that message "Could not connect to distributor "DedicatedServer". Could anyone please have a solid procedures to solve such a problem? or if there are some third party tools that could help us achieving that task ? Your Response is highly appreciated !

    Human knowledge belongs to the world.

    Database database help sysadmin hosting tools

  • Save Excel in C#
    S snouto

    musefan, the guy may not know how to format his question , but the end result is obvious for us , so instead of commenting the way he exposes his question , if you have an answer to his well clarified question so help him or just keep silent !

    Human knowledge belongs to the world.

    C# csharp com tutorial question

  • HTTP Handler
    S snouto

    My friend i would like to inform you that the http handler works fine without injecting the assembly in the GAC , because the http handler is not in a different assembly , it is in the same assembly namespace as the whole project but the problem was as follows . i didn't put the assembly name after declaring the fully qualified namespace of the handler for example the assembly name is GAndroidService and the fully qualified namespace for the handler is GAndroidService.Android.AndroidHandler so the assembly is successfully loaded in memory when the web service runs in the context of asp.net engine so i had to put it like that GAndroidService.Android.AndroidHandler , GAndroidService i hope this could help. Thank you guys for your great support and taking time to reply

    Human knowledge belongs to the world.

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

  • HTTP Handler Problem
    S snouto

    No i can't because it is a shared hosting , but the web service in the local iis is configured successfully and everything works fine

    Human knowledge belongs to the world.

    C# csharp question asp-net visual-studio sysadmin

  • HTTP Handler
    S snouto

    Hello everybody , i have created an ASP.NET Web service application , but in the same solution i have created a class that implements IHTTPHandler interface and i used this class in my web.config file as the main http handler for *.asmx extensions , i have put the following line

    it works fine in Cassini embedded web server in visual studio . but when i deploy it to my domain web server , it tells me it could not load this type or its dependencies whereas this class is associated with one of the solution folders. how can i solve this problem IIS 6 ?

    Human knowledge belongs to the world.

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

  • HTTP Handler Problem
    S snouto

    Hello everybody , i have created an ASP.NET Web service application , but in the same solution i have created a class that implements IHTTPHandler interface and i used this class in my web.config file as the main http handler for *.asmx extensions , i have put the following line

    it works fine in Cassini embedded web server in visual studio . but when i deploy it to my domain web server , it tells me it could not load this type or its dependencies whereas this class is associated with one of the solution folders. how can i solve this problem IIS 6 ?

    Human knowledge belongs to the world.

    C# csharp question asp-net visual-studio sysadmin

  • Non Rectangular Window in WPF Help
    S snouto

    Hello everybody . i am trying to make non rectangular window in wpf , using Rectangle with rounded corners i have already done so , but the problem , i can't add controls on the window anymore . i don't know why . here is the code .

    <Window x:Class="TestingPOS.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:TestingPOS.Controls"
    x:Name="MainWindow"

    Title="Window1" Height="600" Width="600" Background="Transparent" AllowsTransparency="True" WindowStyle="None" MouseLeftButtonDown="Window\_MouseLeftButtonDown">
    
    <Window.Template>
        <ControlTemplate>
            <Rectangle Stroke="Black" RadiusX="97.5" RadiusY="97.5" Canvas.Top="36">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="Black" Offset="0"/>
                        <GradientStop Color="White" Offset="1"/>
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
        </ControlTemplate>
    </Window.Template>
    

    </Window>

    this code makes the window with rounded corners but i have made a user control login screen that i need to insert onto the window , the form doesn't accept any controls even like button or textbox how can i do that task Please help !

    Human knowledge belongs to the world.

    WPF wpf help csharp dotnet com

  • Excel Problem
    S snouto

    First thank you for your honest reply . i have looked at the web page you have sent to me , but they said that the web components are discontinued for office 2007 . any way , i have found a good solution , really amazing solution , it is called DSO Framer ActiveX control from microsoft , it is built using c++ , it is a collection of c++ wrappers that can open any type of office files embedded into your windows application , it is awesome my friend you should look at it . you can go to cnet.com and search for dsoframer , when you download it you will find good samples written in c++ and vb.net that uses that amazing control to host office files , it is really awesome . do you know any way to embed pdf files as well ??? Thank you my friend for your reply

    Human knowledge belongs to the world.

    C# csharp help question

  • Write Assembly code in C#
    S snouto

    yes it can be done using c++ project wrapper then you would add reference to that dll into .net , but be careful , when you do so , you lose the portability that microsoft struggles for when it creates .NET technology , it can't be run on different OS because your embedded assembly code will be targetted for specific platform . Requirements to create the c++ wrapper dll 1 - Decorate the method in c++ as "extern" to stop the compiler from changing the method name when you compile your DLL . 2 - you can even call the dll methods without using unsafe declaration , because it will be treated like any dll referenced in .NET project. i hope this helps

    Human knowledge belongs to the world.

    C# csharp question

  • Excel Problem
    S snouto

    Hi everyone , i need a way to embed excel sheet in my windows form in C# i need a way to embed it in my application either depending on preinstalled office package or without , i don't care , i just need to show the excel sheet hosted within my windows form application . is there a way ????

    Human knowledge belongs to the world.

    C# csharp help question

  • Image Annotation in C#
    S snouto

    Netron Library couldn't be downloaded .. if you have it , please send me a working download link . so for good programming practice, you recommend me to create a rectangle object not to inherit from the control class and do the work inside ???? did i understand you correctly ?

    Human knowledge belongs to the world.

    C# question csharp help tutorial

  • Image Annotation in C#
    S snouto

    Hello everyone , i am designing an image annotation tool . In any image annotation tool , it enables you to drag a rectangle which for example shows an image , text or any other stuff inside of it , then when you click and drag the rectangle resizes itself accordingly over the shown image . The question is : which is the best programming practice for this task ???? , is it either to create a rectangle and keep track of the x,y coordinates and change the size of the rectangle accordingly ???? or to inherit from the CONTROL Class and implement its methods like onMouseDown , OnMouseMove ....etc ???? Second thing ..... : i need to know how can i place handles surrounding the rectangle ? and enable the user to change its Size according to its movement either to the right , left , top or bottom .????? any help or existing examples to see ... Any help will be greatly appreciated.... Thank you

    Human knowledge belongs to the world.

    C# question csharp help tutorial

  • Drawing in GDI
    S snouto

    How you are everybody ? we are developing a business process like diagram . i am responsible for designing the GUI of the activities on the white board i have decided to make each activity like a user control . but the problem now , i need the user control to be clipped only to the shape of the image (the image of the activity itself) i need the whole user control on dropping it over the whiteboard to take only the shape of the image itself . how can i do that in C# Graphics , do you have any sample code or anything for the above task ? it will be greatly appreciated . Thanks everyone

    Human knowledge belongs to the world.

    C# graphics question csharp business help

  • Detect a line in an image then delete it
    S snouto

    hi guys , i have an image that after deskewing it , a black slopped line appear at the end of the image , it is always black in color . i need to remove that line from the image how can i do that i searched the internet and i found an image processing library called aforge , but i actually don't know how to use i to detect that line and then remove it successfully. Any help will be greatly appreciated.... Thanks in advance..

    Human knowledge belongs to the world.

    C# help tutorial question

  • NeuroDegenerative Problem in SQL
    S snouto

    Hi everybody i have two tables that have Many-to-many relationship (personality-to-(Personality_PersonalitySubtypes)-PersonalitySubtypes) in normal scenarioes , u would select all personalitySubtypes by knowing only the personalityID by inner join the three tables but suppose that i need the reverse case , i need to select the personalityID by knowing the four combinations of personalitysubtypes knowing that i need it to be completely accurate means if one of the four combination changes the whole personalityID may be changed . how could i do that in sql ? i tried data structures in C# to iterate and blah blah blah till my brain is down i don't know what to do

    Human knowledge belongs to the world.

    Database csharp database help question

  • UrlEncode Problem
    S snouto

    Hello everybody in this forum when i encode non ascii characters in post method in http using HTTPUtility.URLEncode in C# it gives me an output of encoded string but when i encode the same word in php using urlencode function it gives me a different output in php it is almost the half encoded string from the one from C# output. the word that is encoded is : السلام عليكم in C# ====== %d8%a7%d9%84%d8%b3%d9%84%d8%a7%d9%85+%d8%b9%d9%84%d9%8a%d9%83%d9%85 in php : ======== %C7%E1%D3%E1%C7%E3%20%DA%E1%ED%DF%E3 Almost the half string in php output i need to output in C# the same encoded string as the output from php i don't know how to make it

    Human knowledge belongs to the world.

    C# csharp php help tutorial

  • pivot error
    S snouto

    hi everybody . i am trying to use pivot i use northwind data base i try to execute the following sql statement in my sql server management studio SELECT * FROM Orders PIVOT (COUNT(employeeID) FOR employeeID IN ([1],[2],[3],[4],[5],[6],[7],[8],[9])) p but it gives me that error , i don't know what is wrong with the above statement , actually i didn't change the query from the article that i learn from , i copied and pasted it inside the sql management studio i got that error Msg 102, Level 15, State 1, Line 2 Incorrect syntax near '('.

    Human knowledge belongs to the world.

    Database database sql-server sysadmin help question

  • Problem reading an xml file using java
    S snouto

    i have a Com File which is called through .Net application and i made another java application that call the same COM file using JNI . but the problem is that the xml format generated from the Com file in case of the .Net application is approx 49.9K and the same Xml file Contents generated through java is half the size of the previous file in .net about 24.9K . I had figured out that the .Net application generates the xml file as unicode format while the java application generates the same xml format as ANSI format which is approx the half of the .Net counterpart . but the problem now is that i can't deserialize the java generated xml to convert it into its java object using XMLDecoder because it is ill formed xml whereas its tags are well structured . even when i try to open that .NEt xml file into the IE browser it structures the xml file successfully while the java xml file version tells me that the file is ill formed knowing that the file is well structured and all the tags are valid. here are the two xml files .Net Xml File Version <?xml version="1.0" encoding="UTF-16"?> <Resume xmlns="http://ns.hr-xml.org" xmlns:rm="resumemirror.com" xmlns:hr="http://ns.hr-xml.org/PersonDescriptors" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="en"> <ResumeId idOwner="Resume Mirror"> <IdValue name="RESUME ID">Veterinary-mohammed.doc</IdValue> </ResumeId> <StructuredXMLResume> <ContactInfo> <PersonName> <FormattedName>Mohamed Ibrahim Mohamed</FormattedName> <GivenName>Mohamed</GivenName> <MiddleName>Ibrahim</MiddleName> <FamilyName>Mohamed</FamilyName> </PersonName> <ContactMethod> <Use>personal</Use> <Telephone> <InternationalCountryCode>20</InternationalCountryCode> <SubscriberNumber>20846902634</SubscriberNumber> </Telephone> <Mobile> <InternationalCountryCode>20</InternationalCountryCode> <SubscriberNumber>20106231078</SubscriberNumber> </Mobile> <InternetEmailAddress>matrix_623@yahoo.com</InternetEmailAddress> <PostalAddress> <CountryCode>EG</CountryCode> <DeliveryAddress> <AddressLine>48 Naser Street Senoris Fayoum</

    Java

  • problem importing a com file in c++
    S snouto

    stuart please give me a full solution , i don't get you well my friend

    Human knowledge belongs to the world.

    C / C++ / MFC

  • problem importing a com file in c++
    S snouto

    Where can i put that line my friend ? _COM_SMARTPTR_TYPEDEF(_Collection, __uuidof(_Collection)); in Resumemirror.tlh just before the line with the error or where exactly ????

    Human knowledge belongs to the world.

    C / C++ / MFC
  • Login

  • Don't have an account? Register

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