|
Try and debug your source code. Put a breakpoint on the line of the query - once running code hits the breakpoint, copy the query from there into Access and run it. You will get to know where the error is.
|
|
|
|
|
Given a text string and an SVG font I need to create an SVG file where each character is represented by a path.
I know that SVG font is just a collection of glyphs so rendering should be relatively easy. However some operations like calculating position of each character, rendering in different font sizes, etc. may be tricky.
Has anyone come across a solution that implements this?
|
|
|
|
|
i've just created a bouncing animation with maximum 100 ball bouncing inside a rectangle.
and i'd love to create a ball bouncing inside a disorder box shape.
i've search over google and keeps finding bouncing ball with gravity.
i mean the one that bounce diagonally.
anyone know what should i type in google?
i really don't know what people call this animation.
|
|
|
|
|
Is it not possible to modify the source code you already have to modify the animation?
I'm sure with some playing around of the code, you would be able to do something.
|
|
|
|
|
Hej
How can I add navigation bar for min tigrina lexikon.
i mean I wanted a single bar for menu navigation in asp.net
|
|
|
|
|
You could try the ASP.NET forum.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
please I really need a code for the african board game AYO for my project.
|
|
|
|
|
Which bit of the code are you missing? I take it you have coded the rest of the game, and there's just a bit missing. Heaven forbid that you're asking for somebody else to do all the work for you.
|
|
|
|
|
Am new to programming but I was given as my project but I dont even know where to start from. I have code one but it is console application.
|
|
|
|
|
I have to move 10 million dollars out of the US. Can you give me your bank account details, and I'll share some with you!
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I pleez to help for you?
|
|
|
|
|
cplusplus018 wrote: I dont even know where to start from
<joke>
static void Main()
{
}
</joke>
Start by gaining an understanding of the game.
Replicate the objects in the game, players etc as classes.
Create the logic that governs the game play and interacts with the objects - test this stage thoroughly!
Draw the GUI to retrieve information from the user(s) and the game status if apropriate.
|
|
|
|
|
hi,
I am using an aspxgridview and two checkboxes(for header and dataitem).When I check header checkbox I want to check all checkbox.I am also using java script code.essentially, I can do this, but I must check header checkbox twice times.I didnt understand why it is happening.ı am writing this code checkbox_checked event and header checkbox's autopostpak is true. When I used normal gridview I didnt have any problem I could do this without problem.,
<script language="javascript" type="text/javascript">
function SelectAll(id) {
var IsChecked = id.checked;
var Chk = id;
// Parent = document.getElementById('GrdPerliste');
Parent = document.getElementById('<% = GrdPerliste.ClientID%>');
var items = Parent.getElementsByTagName('input');
for (i = 0; i < items.length; i++) {
var deneme = items[i].type;
if (items[i].id != Chk && items[i].type == "checkbox") {
if (items[i].checked != IsChecked)
{ items[i].click(); }
}
}
}
</script>
protected void Checksec_CheckedChanged2(object sender, EventArgs e)
{
CheckBox chk = (CheckBox)sender;
GridViewHeaderTemplateContainer bulundugucontainer = (GridViewHeaderTemplateContainer)chk.NamingContainer;
((CheckBox)bulundugucontainer.FindControl("Checksec")).Attributes.Add("onclick", "javascript:SelectAll('" + ((CheckBox)bulundugucontainer.FindControl("Checksec")).ClientID + "')");
}
|
|
|
|
|
try this javascript function
function SelectAll(cntrl,grd,indCat)
{
var grdComp = document.getElementById(grd);
if(indCat == '1')
{
for(i=1;i<=grdComp.getElementsByTagName('input').length-1;i++)
{
grdComp.getElementsByTagName('input')[i].checked = cntrl.checked;
}
}
else if(indCat == '2')
{
var chkInd = true;
for(i=1;i<=grdComp.getElementsByTagName('input').length-1;i++)
{
if(grdComp.getElementsByTagName('input')[i].checked == false)
{
chkInd = false;
}
}
grdComp.getElementsByTagName('input')[0].checked = chkInd;
}
}
hope this helps
with regards
Karthik Harve
|
|
|
|
|
thanks for your answer but my problem is that I have to check header checkbox twice.this works only when I check twice so when it works,header check seems not check
|
|
|
|
|
Hi,
I really need help with this...
I need to write c# app (from windows)that will connect to Linux virtual machine server(SLES 10)
with the following information for example:
VM server : example01.xx.example.com
Userid: rrrr
Pssword: rrrr
How can i do it?
all the example that i saw i for connection with TCP.IP address and with port.
Can someone provide me a simple example of C# code for connection to such a Linux server from windows app?
|
|
|
|
|
ronensv wrote: all the example that i saw i for connection with TCP.IP address and with port.
Can someone provide me a simple example of C# code
And the reason that you are unable to use TCP is?
Maybe you can explain what it is that you are trying to connect to? What is it on the Linux side that is waiting for you to connect to it?
And please do not cross post.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
modified 20-Apr-12 7:26am.
|
|
|
|
|
|
I am sure that the OP would need the links more than I
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
sorry, that links are really for him, but i decided to send all in one post and messed with my bad english =p
I'm brazilian and english (well, human languages in general) aren't my best skill, so, sorry by my english. (if you want we can speak in C# or VB.Net =p)
|
|
|
|
|
Thanks for you answer,
I was never implement communication between client to server.
I am now work on big project and i asked to make module that will send strings to the Linux server and then the server will received this strings and will do some calculation and send to the the client(app in windows) string back.
now i need to write the code in the client(c# app) and also the code on the server.
i dont understand how to connect to the server and send to it strings (i understand that i need to write code that catch this sting in the server side).
i just know the server name,the user_id and password.
but all the example that i see require tcp/ip address and port, and i dont understand how to make the connection if i dont have the tcp/ip adders and the port...
sorry if my question seems stupid...but i never used client- Linux server communication
|
|
|
|
|
again, you HAVE the ip of the server, you have their hostname, which can be translated into an ip with the DNS class, take a look:
"a brief explanation about DNS from microsoft: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682100(v=vs.85).aspx[^]
documentation of the class you are looking for: http://msdn.microsoft.com/en-us/library/System.Net.Dns.aspx[^]
you can get your own fish now."
I'm brazilian and english (well, human languages in general) aren't my best skill, so, sorry by my english. (if you want we can speak in C# or VB.Net =p)
|
|
|
|
|
ronensv wrote: now i need to write the code in the client(c# app) and also the code on the server.
Then you are in charge of determining the protocol.
ronensv wrote: i dont understand how to connect to the server and send to it strings (i understand that i need to write code that catch this sting in the server side).
i just know the server name,the user_id and password.
You are confusing issues.
1. Connection
2. Security
Two different things.
If you have a user/pwd then the reason is because the server code uses it. If the server code doesn't use it then you don't need it.
Since you are writing the server code you get to decide whether to use it or not. And if you do use it then you are also defining how to use it.
You might also want to just write a C# client server TCP connection simple test.
Get that to work.
Then write the same code in C++ (presumably) for the linux box: both client and server.
Get that to work (only on linux.)
If you did the two correctly then you should be able to use the client on one OS and the server on the other and they will just work.
|
|
|
|
|
I've a types class, which contains key and value properties and I need to send array of types objects to restful service. I tried the below url, but its not working. Please correct it. Thanks in advance.
http://localhost:8080/CRService/services/CRService/newRequest?User=abcd&types={"key":name, "value":xyz}&types={"key":assigned_to, "value":abcd}&types={"key":status, "value":COMPLETED}
|
|
|
|
|
var servers = new List {
new DatabaseSystem { ServerName = "ANTIVIRUS" },
new DatabaseSizes { ServerName = "ANTIVIRUS"},
new DiskBackup { ServerName = "ANTIVIRUS"},
new SqlServerEventLog { ServerName="ANTIVIRUS"},
new DiskSystem { ServerName="ANTIVIRUS"},
new DatabaseSystem { ServerName="SEJKG-S-DB01" },
new DatabaseSizes { ServerName = "SEJKG-S-DB01"},
new DiskBackup { ServerName = "SEJKG-S-DB01"},
new SqlServerEventLog { ServerName="SEJKG-S-DB01"},
new DiskSystem { ServerName="SEJKG-S-DB01"},
};
var builder = new ContainerBuilder();
builder.RegisterInstance(notifiers).As>();
builder.RegisterInstance(servers).As>();
builder.Register(c => new ServerChecker(c.Resolve>(), c.Resolve>()));
return builder.Build();
I have a problem with how I should register my "where server = new List {..} 'to the Container Builder. My List of iChecker passed as a parameter to a ServerChecker. So much have I been able to solve, but not the list itself but I must have outside. The usual list of servers is much greater.
|
|
|
|