User Profile
Collapse
-
Monomachus replied to How do you update a bitmap without the one behind it showing or how do you clear thein .NETYeah show us some code, that exactly can reproduce your problem. -
Show us the code and by the way if it is about File and you use OpenFileDialog to choose the File than just use code sample below
...Code:OpenFileDialog ofd = new OpenFileDialog(); string filename = ""; string path = ""; if (ofd.ShowDialog() == DialogResult.OK) { filename = System.IO.Path.GetFileName(ofd.FileName); pathLeave a comment:
-
It is not possible. What I meant is that after casting your I object is still instantiated as a G, so he'll get the PrintOne() method from the G because the I one is virtual, meaning what is said here http://msdn.microsoft.com/en-us/libr...=vs.71%29.aspx
"When a virtual method is invoked, the run-time type of the object is checked for an overriding member. The overriding member in the most derived class is called, which...Leave a comment:
-
Look here for more details http://msdn.microsoft.com/en-us/libr....95).aspx#Y400Code:Uri.Fragment
Leave a comment:
-
I know about Xamarin. They have different tools to do Iphone and android development using Mono, like MonoTouch and Mono for Android, and others, but these are not free.Leave a comment:
-
Block meaning delete? Or just disable? Give more details please.Leave a comment:
-
Would your application be Web of Desktop? Give some more details.Leave a comment:
-
That is the way polymorphism works. You override the method. And you declare theso you basically after cast you will still have something likeCode:G g = new G();
More answers here http://stackoverflow.com/questions/4...n-method-c-netCode:I i = new G();
Leave a comment:
-
Facebook and Twitter. Basically now everything narrows down to marketing, what you could do is have Google Analytics installed on your site, and see where your audience is coming from. Basically the more links on the web of your site the more audience would be using it.Leave a comment:
-
As I see in your code, you actually don't need thesection because you would need it only if you'd need a confirmation popup OnEvent Save.Code:<DirectEvents>
So what you would need instead is the property OnDirectClick.
I got it all from this demo page....Code:<ext:Button ID="btnAddIconURL" runat="server" Text="Add Icon URL" Icon="Add" OnDirectClick="Save">
Leave a comment:
-
You basically would need a time column.
Than you could insert a TimeSpan object.
Here are some examples.
http://blogs.msdn.com/b/usisvde/arch...r-ado-net.aspx
http://msdn.microsoft.com/en-us/library/ms186724.aspx...Leave a comment:
-
The short answer is use Handles. Although I'm not a VB programmer, I might be wrong :)
http://msdn.microsoft.com/en-us/libr...(v=vs.71).aspx
Also you could try this.
http://msdn.microsoft.com/en-us/libr...ks95.aspx#Y200...Code:AddHandler anim.Completed, endEvent
Leave a comment:
-
Try this.
Code:Private Sub Form1_MouseClick(ByVal sender As Object, ByVal e As _ System.Windows.Forms.MouseEventArgs) Handles Me.MouseClick Num = (Num + 1) Mod 5 If Num > 4 Then Num = 0 Me.lblName.ForeColor = MyColors(Num) End Sub 'Form1_MouseClickLeave a comment:
-
...Code:Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim strcountries() As String = {"United States", "France"} For intsubsript As Integer = 0 To 1 LstCountries.Items.Add(strcountries(intsubsript)) Next intsubsript End Sub Private Sub LstCountries_SelectedIndexChanged(ByValLeave a comment:
-
All the lines are executed. Because it is a php script it runs all at once. So basically it goes until your line
is executed and it deletes the file.Code:<?php unlink($_GET["fname"]); ?>
So if you want to delete in the same page I would basically make an ajax request to another script which does just deletion deleteFile.php for example.
And I would put it instead of
...Leave a comment:
-
Hi,
Please post exactly the behavior you want to achieve, and also the error you are getting also I don't really understand what do you want to achieve with .ToString("co") ?
Code:strcity(strIndex).ToString("co")Leave a comment:
-
It is not a Java question but anyway.
Code:var txt = '{"event":{"group1":[{"player1":{"name":"markus", "age":"34"}}]}}'; obj = JSON.parse(txt);Leave a comment:
-
You can see more details using developer tools like Firebug or Chrome/IE developer tools.
In your Network tab you can see the headers of your GET request so like this for example I can say that bytes are done using PHP 5.2.17
...Leave a comment:
-
Ascii value of backspace is the same. It isn't variant based on the language. You can check it's value here. http://en.wikipedia.org/wiki/ASCII
Tip: it is 08.Leave a comment:
-
The problem is in your ifs statements cmd.Parameters. AddWithValue will return a System.Data.Sql Client.SqlParam eter, but you want somehow to decide base on it (meaning you want to see a boolean ? ).
Check more about SqlParameter.Ad dWithValue in http://msdn.microsoft.com/en-us/libr...withvalue.aspx
Code:if(cmd.Parameters.AddWithValue("@Status", txtslry.Text)) {Leave a comment:
No activity results to display
Show More
Leave a comment: