|
Then it's the wrong board. In this board we are discussing C# programming and not SQL-Server to Cloud connection.
You should go to the database board.
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|
|
Looks like you need to investigate the Microsoft Sync Framework. Details here[^].
|
|
|
|
|
I thnk tat can help me.. thnx for this.. i l try with it.
|
|
|
|
|
Hi @All,
I want to use DirectShow.NET to record a Webcam.
I have already written a small Programm to capture it.
Now I want to add a Text to the video-capture.
How can i add the Text to the captureGraphFilter?
Thanks!!!
|
|
|
|
|
Hi,
when iam installing a setup ,I want an installer class that creates a shedule task to run at every logon.
|
|
|
|
|
Member 7952119 wrote: when iam installing a setup ,I want an installer class that creates a shedule task to run at every logon.
Nice idea. I want a service that knows the mood i'm in and change the background pics for that.
Next thing I want is a specific question from those who write their question in these boards.
So what do you want to know? What do you wish todo? You can use a logon script, you can use a service, you can use a programm in autostart.
For services take a look at:
http://msdn.microsoft.com/en-us/library/system.serviceprocess.servicebase.onsessionchange.aspx[^]
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|
|
Hi, I'm from Russia and I don't know English very well, so excuse me =)
I'm makin' a client-server application using Socket. I use C# 2008 Express in Windows 7 Pro. While debuging everything is fine. Also, compiled executables work perfectly on my computer. But when I run a Client-application on another computer (Windows XP), It throw an exeption. SocketPermission Exception. I tried adding to my code following instructions:
System.Net.SocketPermission _permission1;
_permission1 = new SocketPermission(System.Security.Permissions.PermissionState.Unrestricted);
_permission1.Assert();
But exception is still throwing. So, what I need to do to solve that problem?
Oh, almost forgot, An exception appears when the socket is trying to Connect();
|
|
|
|
|
LONEROMEO13 wrote: But when I run a Client-application on another computer (Windows XP), It throw an exeption.
Is the port open? Maybe it's blocked by the firewall, then you get an Socket Exception. So open the port for your application and the error might be gone.
Well, try it. If that's not the solution, write it here and I try to figure out, what the problem might be. I was used to socket programming a long time ago. Might be fun to refresh the knowledge a little bit.
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|
|
LONEROMEO13 wrote: An exception appears when the socket is trying to Connect();
MSDN[^] holds a list of exceptions thrown by each method. For this specific exception, it states; If you are using a connection-oriented protocol like TCP and you do disable blocking, Connect will throw a SocketException because it needs time to make the connection. Connectionless protocols will not throw an exception because they simply establish a default remote host. You can use SocketException.ErrorCode to obtain the specific error code. After you have obtained this code, refer to the Windows Sockets version 2 API error code documentation in the MSDN library for a detailed description of the error. If the error returned WSAEWOULDBLOCK, the remote host connection has been initiated by a connection-oriented Socket, but has not yet completed successfully. Use the Poll method to determine when the Socket is finished connecting.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Hey guys, I'm new to Jquery and I'm trying to use <pre>jCapSlide</pre> in a datalist,
<pre lang="HTML">
<asp:DataList ID="DataListList" runat="server" DataSourceID="ObjectDataSourceList"
RepeatColumns="5" CellPadding="5" CellSpacing="5"
OnItemDataBound="DataListList_ItemDataBound">
<ItemTemplate>
<div id="capslide_img_cont" class="ic_container">
<asp:Image ImageUrl='<%#Eval("Images.Image.Virtual_FileName") %>' ID="MainImage"
CssClass="NewsImage1" runat="server" />
<div class="overlay" style="display: none;">
</div>
<div class="ic_caption">
<p class="ic_category">
'<%# Eval("Category.cName")%>'</p>
<h3>
'<%# Eval("pTitle") %>'</h3>
<p class="ic_text">
'<%# Eval("pTitle") %>'
</p>
</div>
</div>
</ItemTemplate>
</asp:DataList>
</pre>
with this Function
<pre lang="Javascript">
<script type="text/javascript">
$(function () {
$("#capslide_img_cont").capslide({
caption_color: 'white',
caption_bgcolor: 'black',
overlay_bgcolor: 'black',
border: '',
showcaption: false
});
});
</script>
</pre>
There are 3 records, this applies on the first one but not the other two,
I think the problem is repeated <pre>id="capslide_img_cont"</pre> but can't seem to fix it.
can you help me out ?
It's deeply appreciated
|
|
|
|
|
I think this probably belongs in the Javascript forum.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
There are basically two ways to create a webpage with code behind.
1. Create dynamic data inside the HTML (what you do here)
2. Spit out complete HTML from the code behind
Personally I always use option 2 as much as I can.
What you would need to do then is create a datalist and add a label to it. In that label you can set any HTML coding you want. (There are also many more advanced ways to do it)
Hope this helps.
|
|
|
|
|
hi guys. I want to see how to automatically upload an image to google "search by image" using C# code. Assume that I have a photo "C:\photo.jpg" and I want to upload to google search by image to get the result page.
|
|
|
|
|
I would be interested to know how you can use Google to "search by image"? I see no such option offered.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
There is, and it's been there for actually quite a while (granted, not in plain sight though).
Click to search for images in Google, then drag and drop the image from your computer into the search box, and voila!
I am tempted to downvote you for not Googling it[^] (I won't do it though)
Full-fledged Java/.NET lover, full-fledged PHP hater.
Full-fledged Google/Microsoft lover, full-fledged Apple hater.
Full-fledged Skype lover, full-fledged YM hater.
|
|
|
|
|
Andrei Straut wrote: I am tempted to downvote you for not Googling it[^] But I did Google it, which is why I asked OP for clarification, because Google did not show how to do it.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Hm, interesting. I googled "google search by image" and the link I gave you was the first that popped up. Does this mean my google-fu is better than your google-fu?
Full-fledged Java/.NET lover, full-fledged PHP hater.
Full-fledged Google/Microsoft lover, full-fledged Apple hater.
Full-fledged Skype lover, full-fledged YM hater.
|
|
|
|
|
OK I lied. I just went to Google and tried using the help pages on searching.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Just tried it, and it actually found some CP links using my avatar.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
I'm not surprised, in the few cases I've used it did the job fairly well (nothing complicated though, something along the lines of what you did).
And a bit off-topic: I googled myself last night excluding personal results, and the first 100 or so pages were all links to CP posts of mine
Full-fledged Java/.NET lover, full-fledged PHP hater.
Full-fledged Google/Microsoft lover, full-fledged Apple hater.
Full-fledged Skype lover, full-fledged YM hater.
|
|
|
|
|
in google image search "www.image.google.com" it is possible to click on the camera icon beside the search button. then one can choose entering the image url or uploading an image from his own pc.
|
|
|
|
|
Cool, not something I have ever looked for.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
There's nothing to upload to; their search-engine isn't a regular webapp where people upload images.
Put the image on a public reachable URL, host them using a webserver. Have Google index the entire site, and it will also catalog the images it finds there.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
yes you are right. but they made the camera icon as an href to a javascript piece of code. so I just need to fire this JVScript code.
|
|
|
|
|
Well, that is a webpage, to which you do a request and get a response. Regular stuff
There is nothing stopping you to programmatically do a request (good luck figuring out all parameters though), getting the response, and displaying it back.
Full-fledged Java/.NET lover, full-fledged PHP hater.
Full-fledged Google/Microsoft lover, full-fledged Apple hater.
Full-fledged Skype lover, full-fledged YM hater.
|
|
|
|