|
And what about windows 2000 > . There is a flash player activeX control in .NET VS 2005 called Macromedia Flash Factory Object which can play flash. It has MWMODE setting , which when set to transparent doesn't do it's job. Is there any way to fix that ?
|
|
|
|
|
You'll have to ask Adobe about that. Since the Flash Player does it's own rendering, Transparency could work, but only inside the Flash window on your form. You won't be able to see through the form itself.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Check out this link, hope It helps you
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14201
|
|
|
|
|
I'm not developing internet application, but windows forms application. That mwmode doesn't work as it suppose to...
|
|
|
|
|
|
|
RajeevKumarSharma wrote: i want to change any amount in words in c#.
as 1234 one thousand two hundread thirty four only.
please reply some one.
Gosh! I remember a similar homework exercise when I was at uni'
Start by writing down some numbers in numerical and word form. You will soon spot a repeating pattern.
1 to 20 don't repeat.
At 21 to 29 you have a pattern of "twenty" followed by n-20
At 31 to 39 you have a pattern of "thirty" followed by n-30
...
At 101 you have a pattern that has "one hundred and" followed by n-100
At 1001 you have a pattern that has "one thousand and" followed by n-1000
At 1101 you have a pattern that has "one thousand" followed by n-1000
NOTE 1: n-x means the pattern formed as if you subtraced n from x and used that pattern. e.g. 21 is twenty followed by 21-20 = 1 ==> twenty one
NOTE 2: These rules apply for Standard English. American English is slightly different.
|
|
|
|
|
Try this:
http://weblogs.asp.net/justin_rogers/archive/2004/06/09/151675.aspx
|
|
|
|
|
Colin Angus Mackay wrote: At 101 you have a pattern that has "one hundred and" followed by n-100
If I recall right from some math classes in school, you're not supposed to say 'and'. 101 becomes "one-hundred one". Maybe that's my non-standard American English.
|
|
|
|
|
Judah Himango wrote: If I recall right from some math classes in school, you're not supposed to say 'and'. 101 becomes "one-hundred one". Maybe that's my non-standard American English.
Yes, I was taught the exact reverse. "One hundred and one" is correct where I am. If you said "One hundred one" here without an accompanying American accent it would possibly be interpreted as two distinct numbers.
|
|
|
|
|
Colin Angus Mackay wrote: Yes, I was taught the exact reverse.
Funny. Although not quite as funny as the fanny differences. My wife watches "The Nanny" TV show, and the theme song for that show involves the Nanny getting thrown out on her fanny...now that I know "standard" English, I find that funny every time I hear the song.
|
|
|
|
|
Judah Himango wrote: My wife watches "The Nanny" TV show, and the theme song for that show involves the Nanny getting thrown out on her fanny...
You would have thought they would have realised, they do have a couple of British actors on the show.
|
|
|
|
|
Can somebody help me with this? I am a student and try to learn internet programming with ASP.NET, C#, mySQL on Linux-servers.
I want to convert this code I got from my ISP to a C# code.
I am running an application from ASP.NET written in C# and want to connect to a mySQL database which is running over internet on a linux server.
<%
Dim objConn
Dim objRS
Set objRS = Server.CreateObject("ADODB.Recordset")
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.ConnectionString="DRIVER={MySQL};SERVER=localhost;"_
& "DATABASE=[DATABASE_NAME] ; UID=[DATABASE_NAME] ; PWD=[MySQL-PWD];"
objConn.Open
objRS.Open "[PASTE-QUERY-HERE]", objConn, 3,3
objRS.Close
Set objRS = Nothing
objConn.Close
Set objConn = Nothing
%>
The code is like following:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="myWebApplication._Default" %>
<title>myWebApplication
|
|
|
|
|
adodb is not ADO.Net I think
The easiest method is to set up an ODBC connection and use the ODBC connection classes with .NET.
File Not Found
|
|
|
|
|
I found following link:
href="http://dev.mysql.com/downloads/connector/net/5.0.html"
From there I installed:
- Connector/Net
- Visual Studio .NET plugin
In the mySQL.Data Help file I found the following code for inserting a row in a table:
public void InsertRow(string myConnectionString)
{
// If the connection string is null, use a default.
if(myConnectionString == "")
{
myConnectionString = "Database=Test;Data Source=localhost;User Id=username ; Password=pass";
}
MySqlConnection myConnection = new MySqlConnection(myConnectionString);
string myInsertQuery = "INSERT INTO Orders (id, customerId, amount) Values(1001, 23, 30.66)";
MySqlCommand myCommand = new MySqlCommand(myInsertQuery);
myCommand.Connection = myConnection;
myConnection.Open();
myCommand.ExecuteNonQuery();
myCommand.Connection.Close();
}
|
|
|
|
|
hi,
i am using a control like numericup/down for my appl'n.
now i want use in time formay like 00:00:00(HH:MM:ss)
i shouldbe in the position to increment/decrement the sec,min and hours.
can u anyone help me pls
with Regards
prasad
|
|
|
|
|
Use a DateTimePicker control instead. Set the following properties:
ShowUpDown = true
Format = Custom
CustomFormat = HH:mm:ss
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
hi,
Thank you
ys it is working
Thank you
|
|
|
|
|
No problem. Glad to help.
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
I got a Bitmap from Icon and save it to a Stream with PNG format
bmp.Save(stream, ImageFormat.Png);
and then I read bytes from the Stream and save bytes to database.
When I read bytes from database and write it to a Stream and create a Image,
if I set the Image to a PictrueBox
pictureBox.Image = MyImage;
it appear correct;
but if I set it to a ImageList and Show in a Listview item
imageList.Images.Add(MyImage)
ListViewItem item1 = new ListViewItem();
item1.ImageIndex = j;//j is the indexnumber of MyImage.
it appear unexpected, just like some blue spots around the pictrue.
What's wrong?
Excuse me for my poor English but i'am really worried about it.
I will put picture comparison on my project website soon.
Please help me,Thx~
http://chinajuanbob.googlepages.com/[^]
http://chinajuanbob.googlepages.com/
http://chinajuanbob.spaces.live.com/
|
|
|
|
|
Make sure your ImageList's ColorDepth property is set to a high value:
imageList.ColorDepth = ColorDepth.Depth32Bit;
|
|
|
|
|
Haha~
Add these code:
Application.EnableVisualStyles();
Application.DoEvents();
and set
Imagelist.ColorDepth = ColorDepth.Depth32Bit;
then it works!
thank you very much!
-- modified at 22:45 Monday 12th March, 2007
http://chinajuanbob.spaces.live.com/
|
|
|
|
|
i have a problem... How can i replace a control present in a container with another control in ComponentAdding/ComponentAdded event? This is required in UndoRedo Operation.I have the undone object with me.On redo an empty control is created with private variables as null.It is a custom control & i am having to reassign all the properties as the undo engine doesnt return the object that was previously removed.
Please suggest a way to get back the Undone control and paste it on the Designer Surface.
|
|
|
|
|
Does anyone have a working example of how to create an active X control that can be hosted in a local HTML document, i.e. not using IIS or a web server, just a plain HTML file that opened in IE will show the active X using WinForms.
Basically I am trying to create a google desktop sidebar gadget, with all the GUI and code being implemented in C#, the google gadget would look very simple
<view ...="">
<object name="myactivex" object="myactivex.mycontrol">
All the samples I have found will not load the Active X in IE, but do in the OLE/Active test harness.
|
|
|
|
|
Hi,
I need to run scrips(vbscripts, jscripts,PowerShell scripts) programatically from C# .Net and I didn't found nothing to help me.
Please help me to do this, giving me a simple exemple.
Thanks,
Lukas22
|
|
|
|