is it possible to connect to an mysql database and issue queries using c++?
i found some sample code from the internet but they all use mysql! so u need to install mysql first on the computer.
what i want is to use a program from different locations where i don't have mysql installed to access a remote mysql database.
is this possible?
How can I make a link that justs adds or changes 1 GET var while maintaining all others?
I have a page that is created using different GET vars.
So it will be like mypage.php?color=red&size=7&brand=some%20brand
So I want to have a link that sets it to page=2 or size=8. Whats the easiest way to have a link do that without reseting all the other vars?
I hope that makes sense, let me know if I need to further explain anything
Hi Forum,
In my iPhone project,I have number of HTML files having different textual and image contents within each file. I need to implement search facility which would return results (HTML file names) having matched keyword. Can anybody have any clue, how can I achieve this? Thanks
Hi :)
I have a part of my program which can be called by various events. Each event however does something different before making use of this part. How can I represent these using a diagram? I was thinking of a flowchart but as far as I know a flow chart can have one start terminal, right?
Thanks a lot for the help,
Regards,
Krt_Malta
I'm fairly new to database programming in .NET.
If I want to call several existing queries from the same database for different tasks, should I have one DataSource per database, per database connection, or per query?
i have a server where resides an excel macro
there will be about 10 users on 10 different workstations that will need to run that macro on their own worksheets.
how do i run the macro from a centralized location by multiple users who want to run it on their own worksheets?
I want to make a framework who the style of function calling is different from the c# style
like the instance create like
Documment doc= new Document("required param is here");
doc("otherinfo").Dothis();
dothis function calling on the basis of information who user passed when they create a new instance and otherinfo they passed latter.
well it's something like jQuery. like $("#goo").length
are this possible to do this in c#
Outside the standard mouse/keyboard combination are there any other peripheals that you use to make you programming more efficient?
One option that I have considered is using AutoHotKey to script the buttons on a Logitech Wingman to run different functions/keystrokes that are not available on the keyboard.
I know the difference between the member operator (.) and the member by pointer operator (-).
Why did the c++ designers create a different operator for this access? Why can't the compiler figure it out on its own?
If you always used a . does any case exist where it is ambiguous whether you mean a member or a member by pointer?
I am including a class in my app that another developer has made freely available. His class has a different package.
Will this cause any issues on Android, the market, etc? Does every single class in the app need to be my own package?
Hi friends,
I have one key but different values for that key, I tried HashTable but i dont think that is the rite way of doing it.
I'll explain in detail what is is requirment is:
I have a Key - "Asp.net"
for that i have n no of values - 61, 67, 100
So i have to store this somewhere like Dictionary or hash table.
TIA
Why do we have equals() and equalsIgnoreCase() as two different methods, when equals() could have been overloaded with a special ignoreCase argument to provide equalsIgnoreCase() functionality?
I some divs with forms inside of them and i do have inputs with same ids but in different divs and forms so do like this:
$("divEdit form #ParentId").val(12);
it works on chrome/mozilla but not on IE8
anybody knows why ?
I have an application using TCP on Windows XP. When I call getsockopt with the SO_RCVBUF option, it reports 8192 bytes. However, Wireshark shows the app advertising a receive buffer of 64K. How is this possible? To have a 64K receive window, doesn't it need a 64K buffer? Are there two different buffers?
I am writing a linux kernel module that needs to pin two threads on two different cpus. I am planning to use sched_setaffinity() after exporting it in the kernel. Is there any other exported function for the same ?
Also, if I set only 1 CPU in the cpumask, will the thread be moved to that cpu with immediate effect ? If not, how do I enforce the same ? Will it help to call schedule() just after sched_setaffinity() ?
Hi,
Can you please tell me how can I setHeight for a ViewGroup?
I see there is a layout(l,t,r,b);
But that is different form setHeight(), since I don't know where should be the top/bottom of the viewGroup. I need to set the height of the ViewGroup and return that to ListAdapter.
Thank you.
Is there a way to control access to methods to certain roles in .net. Like
class A
{
//should only be called by Admins**
public void Method1() { }
//should only be called by Admins and PM's**
public void Method2() { }
}
I'm using windows authentication only for retrieving user names and nothing more.User roles are maintained in a different application. I think it's possible through attributes but I'm not really sure how
I have a class (MyClass) with a lot of methods. Consequently, the .m file has become quite difficult to read. I'm relatively new to Objective-C (having come from REALbasic) and I was wondering if it's possible to put some of the methods in MyClass into different files and then include them in the class. How would I go about this in Xcode?
I know the difference between the member operator (.) and the member by pointer operator (-).
Why did the C designers create a different operator for this access? Why can't the compiler figure it out on its own?
If you always used a . does any case exist where it is ambiguous whether you mean a member or a member by pointer?
Is there any way to uniquely identify a database. If we were to copy a database to another machine, this instance is assumed to be different. i checked on master tables, but could not identify any information that can identify this.
Hello All,
it's just my curiosity to know that why phpmyadmin behavior in different manner when we modify query a bit( putting extra space) then headers of query results, sometime comes in Button format( on hover it say sort, but sorting not working at all) and sometimes in blue link
is there any difference for this or it just causing by some othe reason?
i m attaching both images.
Button headers
Link headers
There are a few different tools for Subversion that run in the background, pinging the central repository every few minutes, and will alert you if any changes are detected (I'm using Windows 7, but this is true for OS X and Linux as well).
Is there anything like that for Mercurial, that will watch a specific repository and alert me to any changes?
I want to split and get rid of the comma's in a string like this that are entered into a textfield:
1,2,3,4,5,6
and then display them in a different textfield like this:
123456
here is what i have tried.
String text = jTextField1.getText();
String[] tokens = text.split(",");
jTextField3.setText(tokens.toString());