Although I'm an experienced C#/Winforms developer, I'm looking for a WPF tutorial that doesn't assume any previous WPF knowledge.
Please post any links you have to WPF tutorials.
I'm reading in my text book about virtual functions in C++ and my book doesn't elaborate on what exactly run-time binding is. It doesn't give me any information as to why I would need run-time binding.
Maybe the nice people at SO can provide me with some links or information?
Thanks :]
Hi,
I need to target all links with a class of hslide and attach this to them. Any jquery guru's out there know how to do this?
onclick="return hs.expand(this, { slideshowGroup: 'groupC0', wrapperClassName: 'rounded-white', outlineType : 'rounded-white', dimmingOpacity: 0.8, align : 'center', transitions : ['expand', 'crossfade'], fadeInOut: true });"
Thanks,
C
is there some way to do databinding with linq2SQL or EntityFramework using "typed links" to the bound property?
Public Class Form1
Dim db As New MESDBEntities 'datacontext/ObjectContext
Dim bs As New BindingSource
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
bs.DataSource = (From m In db.PROB_GROUP Select m)
grid.DataSource = bs
TextBox1.DataBindings.Add("Text", bs, "PGR_NAME")
TextBox1.DataBindings.Add("Text", bs, db.PROB_GROUP) '**<--- Somthing like this**
End Sub
End Class
I'd like to have type checking when compiling and the model changed.
Tried various sites. All download links point to pixel-apes.com which no longer seems in existence.
Any alternatives you guys like? I'm planning on using Markdown if that affects anything.
Thanks!
I have 2 simple structures:
struct Address
{
char city[255];
};
typedef Address* AddressPtr;
struct Person
{
char fullName[255];
Address* address;
Person* next;
};
typedef Person* PersonPtr;
The Person structure forms the Linked list where new elements are added to the beginning of the list. What I want to do is to sort them by fullName. At first I tried to swap links, but I lost the beginning of the list and as a result my list was sorted partially. Then I decided to sort list by swapping the values of nodes. But I get strange results. For a list with names: Test3, Test2, Test1, I get Test3, Test3, Test3.
Here is my sorting code:
void sortByName(PersonPtr& head)
{
TaskPtr currentNode, nextNode;
for(currentNode = head; currentNode->next != NULL; currentNode = currentNode->next)
{
for(nextNode = currentNode->next; nextNode != NULL; nextNode = nextNode->next)
{
if(strcmp(currentNode->fullName, nextNode->fullName) > 0)
{
swapNodes(currentNode, nextNode);
}
}
}
}
void swapNodes(PersonPtr& node1, PersonPtr& node2)
{
PersonPtr temp_node = node2;
strcpy(node2->fullName, node1->fullName);
strcpy(node1->fullName, temp_node->fullName);
strcpy(node2->address->city, node1->address->city);
strcpy(node1->address->city, temp_node->address->city);
}
After the sorting completion, nodes values are a little bit strange.
UPDATED
This is how I swapped links
void swapNodes(PersonPtr& node1, PersonPtr& node2)
{
PersonPtr temp_person;
AddressPtr temp_address;
temp_person = node2;
node2 = node1;
node1 = temp_person;
temp_address = node2->address;
node2->address = node1->address;
node1->address = temp_address;
}
Hello,
Just a quick one..
I am unsure how to prevent a prefix,
for example if I am in domain.com/admin/orders or domain.com/user/order which are admin_ and user_ actions and the navigation menu contains links to pages displays (controller pages action display, **) when they are clicked on they are automatically prefixed by the current prefix.
How can I set in the router file to redirect wildcards prefixes (ie. /pages/)?
What artifacts / diagrams do use to document the flow of a web application taking into account links between static pages and how dynamic view components (html forms, JSP, Ajax, etc) interact with server-side components (Servlets, Struts actions, etc)? Do use UML diagrams?
So I'm searching for a good crash course on localstorage and interacting with it in Javascript. I want to build a to-do list webapp with some extra functionality but it would be just for 1 user. I don't want to mess with php/mysql and have the server doing anything. Links to tutorials would be best :-D
Hi all,
I am looking for informations about the security model of Microsoft .NET
If you could explain me how it is design, or give me links to understand it, it would be very kind of you !
Thanks.
Assume your friend from over 100km away asked you to add a network printer to his computer since you're so tech savvy.
How would you add network printer remotely in this case?
You would need:
0. Remote connection to your friend's computer
1. Printer IP and brand/model names
2. Respective drivers downloaded either from manufacturer's website or Windows Update driver
Question is, how would you find out the IP address of the printer without bothering your friend too much with technical steps? Since your friend isn't as tech savvy as you - they wouldn't know which buttons to press to get IP address.
Hello,
I have created a drop down with JQuery that can be seen here by clicking the Preview button on top:
http://jsbin.com/ubire3/edit
It works fine except for one problem. When i hover over the main hover links (blue ones) quickly eg going horizontally quickly hovering each top menu, the some submenus don't close. How do i make it so that even if i hover fast over them all other submenus are closed?
Thanks.
Hello,
I tried to fetch source of 4chan site, and get links to threads.
I have problem with regexp (isn't working). Source:
import urllib2, re
req = urllib2.Request('http://boards.4chan.org/wg/')
resp = urllib2.urlopen(req)
html = resp.read()
print re.findall("res/[0-9]+", html)
#print re.findall("^res/[0-9]+$", html)
The problem is that:
print re.findall("res/[0-9]+", html)
is giving duplicates.
I can't use:
print re.findall("^res/[0-9]+$", html)
I have read python docs but they didn't help.
I am from a windows background (VC++), and moved to Linux (Ubuntu) about a year ago.
I would like to be able to write simple make files to build the following types of binaries:
A shared library
An executable that links into third party libraries (static and shared libraries)
Create an install section in my makefile (which can then be used my checkinstall)
I have the challenge of implementing an API to be consumed by relatively non-technical clients -- pasting some sample code into their WordPress or homegrown PHP site is probably as much as we can ask. Asking them to install SSL on their servers ain't happening. So I am seeking a simple yet secure way to authenticate API clients.
OAuth is the obvious solution, but I don't think it passes the "simple" test.
Adding a client id and hashed secret as a parameter to the requests is closer -- it's not hard to do md5($secret . $client_id) or whatever the php would be.
It seems to me that if client requests could use the same approach as SSH public keys (client gives us a key from their server(s) there should be some existing magic to make all of the subsequent transactions transparently work just as regular HTTP API requests.
I am still working this out (obviously :-), so if I am being an idiot, it would be nice to know why.
Thanks!
I'm new to Java and I'm doing a project with Ext JS and Java. I'm using Eclipse Java EE IDE for Web Developers (Build id: 20100218-1602). Can anyone suggest any Javascript debugging plugin for this build? Links appreciated
I'm creating a page that's a search result...
When you're viewing one of the results, at the bottom of the page, I need to insert "Next result" and "Previous result" links, like a pagination... But from [I think] a saved search, right?
How you people would do this?
Obs.: I'll use CakePHP (PHP) and MySQL
Hi there, can anyone explain why named anchor tags would not work in safari but work fine in other browsers: ie, ff, opera, chrome.
I have some links to different areas of the same page and nothing happens when clicking on them in safari only. All the other browsers mentioned take me to that area of the page.
I have tried using both the id and the name attribute for the anchors but neither makes any difference.
I have a image set as a link, with a title which is used for a caption in a lightbox. I need the "title" set in order to keep the caption for the lightbox, but I don't want the tool tip to pop up when I hover over the links. Anyone got a easy css fix? Or does this need to be done in Javascript?
I know its possible to integrate jQuery within mozilla addons, but are we able to manipulate (animate, move, adjust transparency, etc) xul elements themselves?
From what I understand, the mozilla addon can use jquery to manipulate html/dom elements, but not sure about xul elements.
All links and tips are appreciated,
-=Vin
Hi All,
Is there any way to get CVS e-mail notifications to inlude links to my ViewCVS server where clicking a link could bring up the diff ?
Currently my loginfo file just has entries like this
^installation cat | /usr/bin/Mail -s "[cvs-update installation]" [email protected]
The e-mails we all then get (Afairly standard I imagine) contain the commit message and list of files changed.
Cheers,
Ro
I've tried psvn.el, but the command to diff the file you're currently looking at is just hideous: M-x svn-file-show-svn-diff. I tried installing vc-svn.el, but couldn't get that working on my version of Emacs: GNU Emacs 21.3.1 (i386-mingw-nt5.1.2600) of 2004-03-10 on NYAUMO. The emacs wiki page, which mainly focuses on vc-svn.el, seems to be horribly out of date, as many of the links do not work.
Hi, I require to buy a laptop, but I'm clueless really-need a laptop that will run the usual software for web work-photoshop,fireworks,dreamweaver,flash etc but also run php and .net, maybe most programs open at same time.
My budget is between £400-£600 ($600-$900)
please provide links if possible! Any help is very much appreciated.
on the following url - http://www.filestube.to/26frq-Buffalo-Clover-Test-Your-Love-2014-9Jai9TJFukAS9fq9sWngAD.html I am trying to copy the;
Direct links:
turbobit.net/9mrb0eu9eksx/26frq.Buffalo.Clover..Test.Your.Love.2014.rar.html
via css path or xpath and unable to retrieve the information and store it to a variable.
firebug gives me
html body div.cnt div.rH.no-js.fd div.rl div.fgBx pre span#copy_paste_links
but when I apply
css=html.body.div.cnt.div.rH.no-js.fd.div.rl.div.fgBx.pre.span#copy_paste_links/text()
to the target, I get error not found http://i.imgur.com/KdBmDHE.png
Hi, I am looking for ideas for how I can stop external scripts connecting with my site. I'm looking for the same kind of idea behind Google. As in if a certain amount of requests are made per a certain amount of time then block the IP address or something. I thought there maybe a htaccess solution if not, I will write a PHP one.
Any ideas or links to existing methods or scripts is much appreciated.
Regards
Phil