How do I write Perl objects with extensible code? Im thinking drivers, or some configuation, where the user can pass in a string "Classname::Class" or something. Thanks.
Im using c# .net , windows form application. I have a XML file which contains two columns and some rows of data. now i have to fill this data into a data grid view. I want to use LINQ.
string createTable = "CREATE TABLE IF NOT EXISTS " + m_strDatabase + "_TimeLogs (logName VARCHAR(16), logTime INTEGER, logCountry TEXT, UNIQUE(logName)) TYPE=MyISAM;";
When this runs, no table is created.
No errors either.
Im using an ODBC connector.
the variable passes in the db name, so that the table created would be users_TimeLogs if the database was called users for example.
Am I doing something wrong?
Im trying to implement and realtime audio streaming swing desktop app . trying to get bytes of audio using java.net classes and then feeding it to play .
Just trying blind punches undersea water thinking the water tank will crack :((
help or any suggestion ?
Im trying to add a directory "foo" to my repo, but there are some sub dirs lets call them "bar1", "bar2", "bar3" and "bar4"
Now I want to add foo to my repo, while ignoring foo/bar2 and foo/bar3
is this possible? do i need to add them first and then remove the folders I dont want?
Hey guys, Im trying to do some data mining and analyze data based on locations.
For this site, http://www.dianping.com/shop/1898365
I am trying to figure out whats the latitude and longitude by crawling. But I cant seem to figure out where this information is stored. Can someone give me some pointers
Hi, I am wondering if anyone has used or read about PHP scripts compiled as a .so extension for Apache... Thing is I think I remember reading about it somewhere but dont know if such a thing exists.
This looks promising, but incomplete and abandoned: http://phpcompiler.org/
Im interested because i think it could improve performance... Perhaps someone could point out a framework or apache extension that does this.
Thanks!!
i have a view which presently returning single record when called....i like it to return three records may be upon inner joining a different view or temp table...as those records share the same data except single column... im not sure about this plz some one throw light on this please..thank you in advance
Im having two tables
TableA
Custid prodid Amt1
1 10 200
2 20 300
3 10 400
4 30 300
5 20 400
6 30 200
TableB
prodid Amt2
10 100
20 200
30 300
and i want sum of all amount group by prodid. can any one give me both ansi and Tsql quries.
I have noticed that Silverlight uses alpha-blending channel for colors for example #FF000000, being the FF the alpha channel of the color.
The problem I am currently facing is that I'm doing some neat UI changes to an app and the colors from Photoshop to silverlight don't look the same. I know im using the correct colors but every colors looks washed out, on Silverlight.
Anyone knows how silverlight manages colors?
Hey,
im using a connection to a server in my php script, opened with fsockopen() and i want it to share between different pages so i serialized it and saved it in a session variable but it seems that that ia a bad idea because when i do this nothing happens...
Not even an error.
The problem is that this connection requires a handshake so i cant reconnect everytime
Another question, whats the timeout of fsockopen or does the connection stay alive if the. original php script which called it is closed?
Im doing some form validation on a website and I've tried to use JQuery Validator and it works find but isn't valid as it uses custom attributes. I've tried every which way to make it valid but it seems besides some other custom javascript, which is not an option, it isn't valid.
Has anyone come across one that is valid? Or some other way to make it valid? I've tried custom dtds, adding the attribute to the doctype but that leaves a ] on the page.
Cheers
i have a uibutton. im using two images for UIControlStateNormal and UIControlStateSelected. when i touch down the button it shows the UIControlStateSelected image for a split second. what is the reason?
i got some source code here. the thing is that they are separated to one another. How can i compile them all? cause im use to compile single class only
My scenario..Im using SqlCompactServer Edition .I'm creating table
Create Table SSr( name nvarchar(400),id int unique).I need to alter table and make name as UNIQUE Column and remove unique from existing column. How to Achieve this.
Im trying to compare these two chars but on win 32 Visual Studio 2008:
if(mychar1 == 'ä' || mychar2 == 'Ä')
Erromess:
Debug Assertion Failed!
File:f\dd\vctools\crt_bld\self_x86\crt\src\xstring
Line 1575
Expression: string subscript out of range
Hello everyone,
I modified html codes generated by Firework, and now graphic was pused down I dont know how to fix it. Sorry Im still using tables, mixing up with css to create the list items....please help....What I did was extend the original graphic to make it taller to fit the list menu
http://imageoneads.com/work/inventory.htm
Thanks ahead
Im using c#.net windows form application. I have a xml file whose name is hello.xml and it goes like this
-
-
abc
hello how ru
-
def
i m fine
-
ghi
how abt u
How can i get the root node i.e into a text box. At this time I will have the xml file name. i.e hello.xml. Using this I should get the root node
Hi, Im having a problem, I have a treeview and I want to load the selected node url in the iframe but have no idea how to do this. I know I cant use response.redirect and I cant use navigateurl because that cancels selectednodechange. Any ideas anyone???
Ive used visual studio for years, but the answer this eludes me:
When intellisense pops up, for a method call that takes more than one parameter, the summary for the first parameter is shown. The only way i've found to show the summary for the following parameter(s) is to either supply each parameter or just hit comma until i get the one im looking for.
Ive tried ctrl+right arrow, shift + right arrow etc etc, without success.
Just curious is all.
ok im reposting this question cause i got some off track answers last time.
I have 3 aspx pages - page1, login and page3. Now when i goto login page from page1, after i login and goto page3 i should be able to open a popup on that submit and the login should change to page3. but if i goto login page directly, the popup should not open and the login will goto page3 as normal design. how can i achieve this?
Hi,
Im my app I need to include push notifications,
Can anyone tell me how to write push notification provider server, and in whcih language we need to write it?
If anyone is having sample code of provider plese share it by posting...
im using a UIWebView to show html content in my app, the app contains two arrows to navigate between topics just like a RSS reader app, but when the user hits up or down arrow, the next topic doesn't show up until the data come back and the user still able to interact with the UI which is a bit confusing,
My question: how to block the UI when user moves to the next/back topic ? in other words how to make loadHTMLString:baseURL: works as a synchronous calling ? thanks !
I have been playing with this webbrowser control example
I got it working and added some timers using ON_WM_TIMER.
Now I would like to access the m_Browser (CWebBrowser class instance) defined inside the protected CMyBrowserView class into a different class. (for example CMyBrowserApp in the code sample) and use .Navigate and other functions.
How can I do this?
(im using visual studio 6 c++)