472,365 Members | 1,329 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,365 software developers and data experts.

How to convert Date to int

New to C# ---- How do I convert a Date to int?

In VB6:

Dim lDate as long

lDate = CLng(Date)
In C#

int lDate;

Then what?
Thanks In Advance.
May 4 '06 #1
17 71030
Try Convert.ToInt32(DateTime)

http://msdn2.microsoft.com/en-us/lib...t.toint32.aspx

Jeff

Terry Jolly wrote:
New to C# ---- How do I convert a Date to int?

In VB6:

Dim lDate as long

lDate = CLng(Date)
In C#

int lDate;

Then what?
Thanks In Advance.

May 4 '06 #2
It should be noted that you are going to lose the time information when
you do this (and there is no way to prevent that, either).

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jeff" <ju******@jeff.net> wrote in message
news:PK*****************@tornado.texas.rr.com...
Try Convert.ToInt32(DateTime)

http://msdn2.microsoft.com/en-us/lib...t.toint32.aspx

Jeff

Terry Jolly wrote:
New to C# ---- How do I convert a Date to int?

In VB6:

Dim lDate as long

lDate = CLng(Date)
In C#

int lDate;

Then what?
Thanks In Advance.

May 4 '06 #3
I get an error on compling: "Cannot implicitly convert type
'System.DateTime' to 'int' " ----- Any other ideas?

"Jeff" <ju******@jeff.net> wrote in message
news:PK*****************@tornado.texas.rr.com...
Try Convert.ToInt32(DateTime)

http://msdn2.microsoft.com/en-us/lib...t.toint32.aspx

Jeff

Terry Jolly wrote:
New to C# ---- How do I convert a Date to int?

In VB6:

Dim lDate as long

lDate = CLng(Date)
In C#

int lDate;

Then what?
Thanks In Advance.

May 4 '06 #4
It would help if you paste a snippet of your code

Terry Jolly wrote:
I get an error on compling: "Cannot implicitly convert type
'System.DateTime' to 'int' " ----- Any other ideas?

"Jeff" <ju******@jeff.net> wrote in message
news:PK*****************@tornado.texas.rr.com...
Try Convert.ToInt32(DateTime)

http://msdn2.microsoft.com/en-us/lib...t.toint32.aspx

Jeff

Terry Jolly wrote:
New to C# ---- How do I convert a Date to int?

In VB6:

Dim lDate as long

lDate = CLng(Date)
In C#

int lDate;

Then what?
Thanks In Advance.


May 4 '06 #5

"Terry Jolly" wrote...
New to C# ---- How do I convert a Date to int?

In VB6:

Dim lDate as long

lDate = CLng(Date)
In C#

int lDate;

Then what?


Well, AFAIR, a Date in VB6 was internally represented by a double, where the
fractional part represented the time of day.

In .NET a DateTime isn't the same thing, and you won't get the same integer
value.

Here a DateTime has "ticks" which is a long, representing the number of
100-nanoseconds since the epoch (which date now that was).

So, the question is rather what you want it for, and how you're going to use
it?

If it simply is to store away it as an integer value, or vice versa, you can
use the ticks, e.g.:

DateTime d = new DateTime(632820056780400000);

long ticks = d.Ticks;

Note that it's not an int, it's a long.

// Bjorn A

May 4 '06 #6
private void button1_Click(object sender, EventArgs e)

{

int lDate;

lDate = Convert.ToInt32(System.DateTime.Now);

textBox1.Text = lDate.ToString();

}

"Jeff" <ju******@jeff.net> wrote in message
news:Ke*****************@tornado.texas.rr.com...
It would help if you paste a snippet of your code

Terry Jolly wrote:
I get an error on compling: "Cannot implicitly convert type
'System.DateTime' to 'int' " ----- Any other ideas?

"Jeff" <ju******@jeff.net> wrote in message
news:PK*****************@tornado.texas.rr.com...
Try Convert.ToInt32(DateTime)

http://msdn2.microsoft.com/en-us/lib...t.toint32.aspx

Jeff

Terry Jolly wrote:
New to C# ---- How do I convert a Date to int?

In VB6:

Dim lDate as long

lDate = CLng(Date)
In C#

int lDate;

Then what?
Thanks In Advance.


May 4 '06 #7
The database i'm writing too stores dates as int32 --05/04/2006 would equal
38841. Just like MS Excel would display the a date if formated as a number
with zero decimal places.
"Jeff" <ju******@jeff.net> wrote in message
news:Ke*****************@tornado.texas.rr.com...
It would help if you paste a snippet of your code

Terry Jolly wrote:
I get an error on compling: "Cannot implicitly convert type
'System.DateTime' to 'int' " ----- Any other ideas?

"Jeff" <ju******@jeff.net> wrote in message
news:PK*****************@tornado.texas.rr.com...
Try Convert.ToInt32(DateTime)

http://msdn2.microsoft.com/en-us/lib...t.toint32.aspx

Jeff

Terry Jolly wrote:
New to C# ---- How do I convert a Date to int?

In VB6:

Dim lDate as long

lDate = CLng(Date)
In C#

int lDate;

Then what?
Thanks In Advance.


May 4 '06 #8

Terry,

Try:
long lDate;

lDate = (long)System.DateTime.Now;

(OR lDate = Convert.ToInt64(System.DateTime.Now) )
You need a 64-bit variable in order to fit the DateTime into it.
Paul Cheetham

Terry Jolly wrote:
private void button1_Click(object sender, EventArgs e)

{

int lDate;

lDate = Convert.ToInt32(System.DateTime.Now);

textBox1.Text = lDate.ToString();

}

"Jeff" <ju******@jeff.net> wrote in message
news:Ke*****************@tornado.texas.rr.com...
It would help if you paste a snippet of your code

Terry Jolly wrote:
I get an error on compling: "Cannot implicitly convert type
'System.DateTime' to 'int' " ----- Any other ideas?

"Jeff" <ju******@jeff.net> wrote in message
news:PK*****************@tornado.texas.rr.com...
Try Convert.ToInt32(DateTime)

http://msdn2.microsoft.com/en-us/lib...t.toint32.aspx

Jeff

Terry Jolly wrote:
> New to C# ---- How do I convert a Date to int?
>
> In VB6:
>
> Dim lDate as long
>
> lDate = CLng(Date)
>
>
> In C#
>
> int lDate;
>
> Then what?
>
>
> Thanks In Advance.

May 4 '06 #9

"Terry Jolly" wrote...
private void button1_Click(object sender, EventArgs e)
{

int lDate;

lDate = Convert.ToInt32(System.DateTime.Now);

textBox1.Text = lDate.ToString();

}

That won't work. This will:

private void button1_Click(object sender, EventArgs e)
{
long lDate = System.DateTime.Now.Ticks;
textBox1.Text = lDate.ToString();
}
But you still haven't explained what you need an integral value of the Date
for. That snippet doesn't make any sense...

// Bjorn A
May 4 '06 #10
The database i'm writing too stores dates as int32 --05/04/2006 would equal
38841. Just like MS Excel would display the a date if formated as a number
with zero decimal places.
"Bjorn Abelli" <bj**********@DoNotSpam.hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...

"Terry Jolly" wrote...
New to C# ---- How do I convert a Date to int?

In VB6:

Dim lDate as long

lDate = CLng(Date)
In C#

int lDate;

Then what?


Well, AFAIR, a Date in VB6 was internally represented by a double, where
the fractional part represented the time of day.

In .NET a DateTime isn't the same thing, and you won't get the same
integer value.

Here a DateTime has "ticks" which is a long, representing the number of
100-nanoseconds since the epoch (which date now that was).

So, the question is rather what you want it for, and how you're going to
use it?

If it simply is to store away it as an integer value, or vice versa, you
can use the ticks, e.g.:

DateTime d = new DateTime(632820056780400000);

long ticks = d.Ticks;

Note that it's not an int, it's a long.

// Bjorn A

May 4 '06 #11
Then it's the number of days since 1899-12-31? Use the Subtract method
to get a TimeSpan, and get the number of days:

DateTime date = DateTime.Today;
int days = date.Subtract(new DateTime(1899,12,31)).Days;

Terry Jolly wrote:
The database i'm writing too stores dates as int32 --05/04/2006 would equal
38841. Just like MS Excel would display the a date if formated as a number
with zero decimal places.
"Jeff" <ju******@jeff.net> wrote in message
news:Ke*****************@tornado.texas.rr.com...
It would help if you paste a snippet of your code

Terry Jolly wrote:
I get an error on compling: "Cannot implicitly convert type
'System.DateTime' to 'int' " ----- Any other ideas?

"Jeff" <ju******@jeff.net> wrote in message
news:PK*****************@tornado.texas.rr.com...
Try Convert.ToInt32(DateTime)

http://msdn2.microsoft.com/en-us/lib...t.toint32.aspx

Jeff

Terry Jolly wrote:
> New to C# ---- How do I convert a Date to int?
>
> In VB6:
>
> Dim lDate as long
>
> lDate = CLng(Date)
>
>
> In C#
>
> int lDate;
>
> Then what?
>
>
> Thanks In Advance.

May 4 '06 #12
The database i'm writing too stores dates as int32 --05/04/2006 would equal
38841. Just like MS Excel would display the a date if formated as a number
with zero decimal places.

"Paul Cheetham" <PA******@dsl.pipex.com> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...

Terry,

Try:
long lDate;

lDate = (long)System.DateTime.Now;

(OR lDate = Convert.ToInt64(System.DateTime.Now) )
You need a 64-bit variable in order to fit the DateTime into it.
Paul Cheetham

Terry Jolly wrote:
private void button1_Click(object sender, EventArgs e)

{

int lDate;

lDate = Convert.ToInt32(System.DateTime.Now);

textBox1.Text = lDate.ToString();

}

"Jeff" <ju******@jeff.net> wrote in message
news:Ke*****************@tornado.texas.rr.com...
It would help if you paste a snippet of your code

Terry Jolly wrote:
I get an error on compling: "Cannot implicitly convert type
'System.DateTime' to 'int' " ----- Any other ideas?

"Jeff" <ju******@jeff.net> wrote in message
news:PK*****************@tornado.texas.rr.com...
> Try Convert.ToInt32(DateTime)
>
> http://msdn2.microsoft.com/en-us/lib...t.toint32.aspx
>
> Jeff
>
> Terry Jolly wrote:
>> New to C# ---- How do I convert a Date to int?
>>
>> In VB6:
>>
>> Dim lDate as long
>>
>> lDate = CLng(Date)
>>
>>
>> In C#
>>
>> int lDate;
>>
>> Then what?
>>
>>
>> Thanks In Advance.

May 4 '06 #13
The database i'm writing too stores dates as int32 --05/04/2006 would equal
38841. Just like MS Excel would display the a date if formated as a number
with zero decimal places.

"Bjorn Abelli" <bj**********@DoNotSpam.hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...

"Terry Jolly" wrote...
private void button1_Click(object sender, EventArgs e)
{

int lDate;

lDate = Convert.ToInt32(System.DateTime.Now);

textBox1.Text = lDate.ToString();

}

That won't work. This will:

private void button1_Click(object sender, EventArgs e)
{
long lDate = System.DateTime.Now.Ticks;
textBox1.Text = lDate.ToString();
}
But you still haven't explained what you need an integral value of the
Date for. That snippet doesn't make any sense...

// Bjorn A

May 4 '06 #14
That's exactly what I'm trying to do. Thanks.

However, it will not compile even thought I have these imports:

import java.text.*;
import java.util.Date;
import java.util.Calendar;
import java.lang.Math;

Compile errors:

--------------------Configuration: Test2 - JDK version <Default> -
<Default>--------------------
C:\Program Files\Xinox
Software\JCreatorV3\MyProjects\Test2\src\Hello.jav a:10: cannot find symbol
symbol : class DateTime
location: class Hello
DateTime date = DateTime.Today;
^
C:\Program Files\Xinox
Software\JCreatorV3\MyProjects\Test2\src\Hello.jav a:10: cannot find symbol
symbol : variable DateTime
location: class Hello
DateTime date = DateTime.Today;
^
C:\Program Files\Xinox
Software\JCreatorV3\MyProjects\Test2\src\Hello.jav a:11: cannot find symbol
symbol : class DateTime
location: class Hello
int days = date.Subtract(new DateTime(1899,12,31)).Days;
^
3 errors

Process completed.

"Göran Andersson" <gu***@guffa.com> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Then it's the number of days since 1899-12-31? Use the Subtract method to
get a TimeSpan, and get the number of days:

DateTime date = DateTime.Today;
int days = date.Subtract(new DateTime(1899,12,31)).Days;

Terry Jolly wrote:
The database i'm writing too stores dates as int32 --05/04/2006 would
equal 38841. Just like MS Excel would display the a date if formated as
a number with zero decimal places.
"Jeff" <ju******@jeff.net> wrote in message
news:Ke*****************@tornado.texas.rr.com...
It would help if you paste a snippet of your code

Terry Jolly wrote:
I get an error on compling: "Cannot implicitly convert type
'System.DateTime' to 'int' " ----- Any other ideas?

"Jeff" <ju******@jeff.net> wrote in message
news:PK*****************@tornado.texas.rr.com...
> Try Convert.ToInt32(DateTime)
>
> http://msdn2.microsoft.com/en-us/lib...t.toint32.aspx
>
> Jeff
>
> Terry Jolly wrote:
>> New to C# ---- How do I convert a Date to int?
>>
>> In VB6:
>>
>> Dim lDate as long
>>
>> lDate = CLng(Date)
>>
>>
>> In C#
>>
>> int lDate;
>>
>> Then what?
>>
>>
>> Thanks In Advance.

May 4 '06 #15
That is because it's C# code and you try to compile it as Java...

Terry Jolly wrote:
That's exactly what I'm trying to do. Thanks.

However, it will not compile even thought I have these imports:

import java.text.*;
import java.util.Date;
import java.util.Calendar;
import java.lang.Math;

Compile errors:

--------------------Configuration: Test2 - JDK version <Default> -
<Default>--------------------
C:\Program Files\Xinox
Software\JCreatorV3\MyProjects\Test2\src\Hello.jav a:10: cannot find symbol
symbol : class DateTime
location: class Hello
DateTime date = DateTime.Today;
^
C:\Program Files\Xinox
Software\JCreatorV3\MyProjects\Test2\src\Hello.jav a:10: cannot find symbol
symbol : variable DateTime
location: class Hello
DateTime date = DateTime.Today;
^
C:\Program Files\Xinox
Software\JCreatorV3\MyProjects\Test2\src\Hello.jav a:11: cannot find symbol
symbol : class DateTime
location: class Hello
int days = date.Subtract(new DateTime(1899,12,31)).Days;
^
3 errors

Process completed.

"Göran Andersson" <gu***@guffa.com> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Then it's the number of days since 1899-12-31? Use the Subtract method to
get a TimeSpan, and get the number of days:

DateTime date = DateTime.Today;
int days = date.Subtract(new DateTime(1899,12,31)).Days;

Terry Jolly wrote:
The database i'm writing too stores dates as int32 --05/04/2006 would
equal 38841. Just like MS Excel would display the a date if formated as
a number with zero decimal places.
"Jeff" <ju******@jeff.net> wrote in message
news:Ke*****************@tornado.texas.rr.com...
It would help if you paste a snippet of your code

Terry Jolly wrote:
> I get an error on compling: "Cannot implicitly convert type
> 'System.DateTime' to 'int' " ----- Any other ideas?
>
>
>
> "Jeff" <ju******@jeff.net> wrote in message
> news:PK*****************@tornado.texas.rr.com...
>> Try Convert.ToInt32(DateTime)
>>
>> http://msdn2.microsoft.com/en-us/lib...t.toint32.aspx
>>
>> Jeff
>>
>> Terry Jolly wrote:
>>> New to C# ---- How do I convert a Date to int?
>>>
>>> In VB6:
>>>
>>> Dim lDate as long
>>>
>>> lDate = CLng(Date)
>>>
>>>
>>> In C#
>>>
>>> int lDate;
>>>
>>> Then what?
>>>
>>>
>>> Thanks In Advance.


May 4 '06 #16
good grief...

Göran Andersson wrote:
That is because it's C# code and you try to compile it as Java...

Terry Jolly wrote:
That's exactly what I'm trying to do. Thanks.

However, it will not compile even thought I have these imports:

import java.text.*;
import java.util.Date;
import java.util.Calendar;
import java.lang.Math;

Compile errors:

--------------------Configuration: Test2 - JDK version <Default> -
<Default>--------------------
C:\Program Files\Xinox
Software\JCreatorV3\MyProjects\Test2\src\Hello.jav a:10: cannot find
symbol
symbol : class DateTime
location: class Hello
DateTime date = DateTime.Today;
^
C:\Program Files\Xinox
Software\JCreatorV3\MyProjects\Test2\src\Hello.jav a:10: cannot find
symbol
symbol : variable DateTime
location: class Hello
DateTime date = DateTime.Today;
^
C:\Program Files\Xinox
Software\JCreatorV3\MyProjects\Test2\src\Hello.jav a:11: cannot find
symbol
symbol : class DateTime
location: class Hello
int days = date.Subtract(new DateTime(1899,12,31)).Days;
^
3 errors

Process completed.

"Göran Andersson" <gu***@guffa.com> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Then it's the number of days since 1899-12-31? Use the Subtract
method to get a TimeSpan, and get the number of days:

DateTime date = DateTime.Today;
int days = date.Subtract(new DateTime(1899,12,31)).Days;

Terry Jolly wrote:
The database i'm writing too stores dates as int32 --05/04/2006
would equal 38841. Just like MS Excel would display the a date if
formated as a number with zero decimal places.
"Jeff" <ju******@jeff.net> wrote in message
news:Ke*****************@tornado.texas.rr.com...
> It would help if you paste a snippet of your code
>
> Terry Jolly wrote:
>> I get an error on compling: "Cannot implicitly convert type
>> 'System.DateTime' to 'int' " ----- Any other ideas?
>>
>>
>>
>> "Jeff" <ju******@jeff.net> wrote in message
>> news:PK*****************@tornado.texas.rr.com...
>>> Try Convert.ToInt32(DateTime)
>>>
>>> http://msdn2.microsoft.com/en-us/lib...t.toint32.aspx
>>>
>>> Jeff
>>>
>>> Terry Jolly wrote:
>>>> New to C# ---- How do I convert a Date to int?
>>>>
>>>> In VB6:
>>>>
>>>> Dim lDate as long
>>>>
>>>> lDate = CLng(Date)
>>>>
>>>>
>>>> In C#
>>>>
>>>> int lDate;
>>>>
>>>> Then what?
>>>>
>>>>
>>>> Thanks In Advance.


May 4 '06 #17
Work's perfect --- many thanks!
"Göran Andersson" <gu***@guffa.com> wrote in message
news:eP**************@TK2MSFTNGP04.phx.gbl...
That is because it's C# code and you try to compile it as Java...

Terry Jolly wrote:
That's exactly what I'm trying to do. Thanks.

However, it will not compile even thought I have these imports:

import java.text.*;
import java.util.Date;
import java.util.Calendar;
import java.lang.Math;

Compile errors:

--------------------Configuration: Test2 - JDK version <Default> -
<Default>--------------------
C:\Program Files\Xinox
Software\JCreatorV3\MyProjects\Test2\src\Hello.jav a:10: cannot find
symbol
symbol : class DateTime
location: class Hello
DateTime date = DateTime.Today;
^
C:\Program Files\Xinox
Software\JCreatorV3\MyProjects\Test2\src\Hello.jav a:10: cannot find
symbol
symbol : variable DateTime
location: class Hello
DateTime date = DateTime.Today;
^
C:\Program Files\Xinox
Software\JCreatorV3\MyProjects\Test2\src\Hello.jav a:11: cannot find
symbol
symbol : class DateTime
location: class Hello
int days = date.Subtract(new DateTime(1899,12,31)).Days;
^
3 errors

Process completed.

"Göran Andersson" <gu***@guffa.com> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Then it's the number of days since 1899-12-31? Use the Subtract method
to get a TimeSpan, and get the number of days:

DateTime date = DateTime.Today;
int days = date.Subtract(new DateTime(1899,12,31)).Days;

Terry Jolly wrote:
The database i'm writing too stores dates as int32 --05/04/2006 would
equal 38841. Just like MS Excel would display the a date if formated
as a number with zero decimal places.
"Jeff" <ju******@jeff.net> wrote in message
news:Ke*****************@tornado.texas.rr.com...
> It would help if you paste a snippet of your code
>
> Terry Jolly wrote:
>> I get an error on compling: "Cannot implicitly convert type
>> 'System.DateTime' to 'int' " ----- Any other ideas?
>>
>>
>>
>> "Jeff" <ju******@jeff.net> wrote in message
>> news:PK*****************@tornado.texas.rr.com...
>>> Try Convert.ToInt32(DateTime)
>>>
>>> http://msdn2.microsoft.com/en-us/lib...t.toint32.aspx
>>>
>>> Jeff
>>>
>>> Terry Jolly wrote:
>>>> New to C# ---- How do I convert a Date to int?
>>>>
>>>> In VB6:
>>>>
>>>> Dim lDate as long
>>>>
>>>> lDate = CLng(Date)
>>>>
>>>>
>>>> In C#
>>>>
>>>> int lDate;
>>>>
>>>> Then what?
>>>>
>>>>
>>>> Thanks In Advance.


May 4 '06 #18

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: sumeet | last post by:
how do i convert a yyyymmdd format to yyyy,mm,dd format. also i want to know how do i get the number of days between two dates which r in the format yyyymmdd. how to convert date into unix time...
3
by: galsaba | last post by:
What would be the function to convert date to the number of date for example, 2/14/05 is 45, becuse this is the 45th day of the year. What would be the function? Where can I find info on the web...
2
by: Franck | last post by:
Hi, 'm gettin mad about date conversion. Here is the point. Got and add-in for Excel which call functions from a web service (on a remote server) The remote server has regional settings...
3
by: sparkle | last post by:
Hi, Does anybody know how to convert date to ticks from a dateTimePicker? What I'm using now isn't working. I'm trying to use a dateTimePicker to set an appointment in Outlook with a...
1
by: prabhunew2005 | last post by:
I am using postgres,php in web designing. I have to convert date entered in MM-DD-YYYY format to YYYY-MM-DD format. I have to use resulting date format in my search sql. I used todate method. But i...
5
by: Totto | last post by:
Hi, Is it possible to convert date to dd mon yyyy hh:mi(24h) Thanks Totto
1
by: Fibre Optic | last post by:
Hello, I am looking for way to convert date i.e. "Fri Feb 23 06:13:55 EST 2007" to unix time stamp? Does any one know a library which could be help full? Regards, Fibre Optic
1
by: nitinkeser | last post by:
how i convert date into specific format in asp? like in date format 'Jun 17, 2007' ?
17
KalariaNitya
by: KalariaNitya | last post by:
Hello All, I want to convert Date to Hindu Calender. For e.g. today is 12th sep'2008 so convert it to bhadarvo sud baras. can anybody help me how to do that? thanking u in advanced..
1
by: shivasusan | last post by:
How i can convert Date dd/mm/yy to mm/dd/yy? Pls any one help me immediately.... is very very urgent. Because i am new for asp and vbscript and javascript.
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.