The embedded-code tag has no wiki summary.
0
votes
3answers
70 views
Assist me in converting the read values from array to ascii?
#include<stdio.h>
#define msize 4096
struct memory
{
int a[msize];
};
void read(struct memory *m)
{
int i;
for(i=0;i<sizeof(msize);i++)
{
scanf("%d",&m->a[i]);
}
}
int main()
{
...
1
vote
1answer
104 views
CCS Error[128] A #DEVICE required before this line
I am getting
Error[128] C:\Program Files\PICC\drivers\string.h 34 : A #DEVICE required before this line
when compiling simple helloWorld.c
#include <stdio.h>
void main()
{
printf("Hi");
...
1
vote
1answer
204 views
Server-side schema validation with JAX-WS
I have JAX-WS container-less service (published via Endpoint.publish() right from main() method). I want my service to validate input messages. I have tried following annotation: ...
1
vote
2answers
106 views
Web Forms Inline Code Begin Tags
I just wan to to know why these different begin tags exist, if there are still more and if they can be used interchangeably:
<%# Do.Something() %>
<%= Do.Something() %>
...
0
votes
0answers
67 views
HPDPIC portability with mplab or picc compiler
A code is written in HPDPIC(By my senior classmate). Now i need to do some changes in it. But changing d parametre in HPDPIC is quite difficult(HPDPIC is quite old compiler and i didn't understand how ...
3
votes
2answers
463 views
Looking for embedded project with source code [closed]
I have embedded developement board (LPCXXXX) with me. I would like to do various experiments with that. I am not getting experiment ideas.
Please suggest me some good websites where I will get some ...
1
vote
1answer
122 views
Translate embedded C function to PHP function
I'm trying to "translate" the following function written in C in PHP. The problem is, the results returned by the function written in PHP are different from those returned by the one in C.
I think ...
1
vote
1answer
251 views
Embedded code in repeater
Sorry Guys,
I realize this might be question 1.000.000 concerning embedded code in HTML markup, but I really can't figure it out.
I am using a databound repeater component with some click-sensitive ...
1
vote
2answers
147 views
Is it a good practice to include all files in one .h file and include that file everywhere for AVR?
Can I do like this
/*includeAll.h*/
#ifndef INCLUDEALL_H_
#define INCLUDEALL_H_ 1
#include <avr/io.h>
#include <avr/pgmspace.h>
#include <avr/interrupt.h>
#include ...
0
votes
3answers
57 views
Could someone point me to the definition of <%:?
I had this, and got "Howdy, "
<p> Howdy, <% Model.ToString(); %> </p>
I changed it to
<p> Howdy, <%: Model.ToString() %> </p>
and got "Howdy, Chris". (Which ...
0
votes
1answer
664 views
SPI is reading data as zero in STM32F103ZE
I am using STM32F103ZE
I am not getting SPI data correctly.
Master is transmitting correctly.
But always read as zero where a non zero value has been sent.
Master config: (MSP430)
The master ...
0
votes
3answers
133 views
LCD screen Corrupting
I am using msp430f5418 with st7565r LCD controller with easyGUI. I am using SPI to communicate with LCD.
Suppose I have a screen like this
But sometimes(rarely) when I press a key (anything which ...
2
votes
1answer
1k views
How do I add “&Source” to DataNavigateUrlFormatString?
Solution:
<asp:TemplateField SortExpression="Exp" HeaderText="text">
<ItemTemplate>
<asp:HyperLink runat="server" Text='<%# Eval("Name") %>' NavigateUrl='<%# ...
3
votes
2answers
12k views
How to embed c# code in javascript on cshtml MVC3 Razor page
how would I do the equivalent of this embedded in javascript on an MVC2 aspx page:
if (('<%= Model.SomeFunctionEnabled %>' == 'True') and also a whole function code block on a Razor view page ...
3
votes
1answer
141 views
Using a c# variable of type dynamic in embedded code
It appears that creating a public property (that returns an anonymous object) in your code-behind of type 'dynamic' and exposing it to your aspx page converts the variable to type 'object'. Is this ...
8
votes
2answers
18k views
dynamically set hyperlink control's navigateurl property inline
Is there a way to do something like this:
<asp:HyperLink id="MyLink"
NavigateUrl="../mypage.aspx?id=<%= pageid %>"
runat="server">My Page</asp:HyperLink>
... except in a way ...
1
vote
1answer
233 views
jQuery.load() with AJAX Kontactr form
After seeing many questions about how jQuery.load() handles tags in the content to be loaded, I see that jQuery strips out inline tags. But, I'd like to use Kontactr for the contact page in my site, ...
0
votes
1answer
2k views
How to play a embedded code in lightbox type popup
How to play a embedded code in lightbox type pop up?
Here is the whole code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
...
-1
votes
1answer
4k views
how to create a thumbnail image with embedded video code
How to create a thumbnail image with embedded video code. For example i am having the following embedded code:
> <object width="480"
> height="385"><param name="movie"
> ...
0
votes
2answers
205 views
Embed code for my web page
I've created a web application in asp.net. I've to generate embed code for one of my page so that other websites can embed that code in their websites. Tell me what is the best way to do this?
0
votes
1answer
1k views
Embedded code in NavigateUrl of an asp:Hyperlink. What am I doing wrong?
In code-behind of an ASP.NET page I have this method:
public string TestFunc()
{
return "http://www.blabla.net";
}
And in markup this:
<%= TestFunc() %>
If I run the page I see ...
2
votes
3answers
2k views
Embedding ASP.Net code in external javascript files
I have a code like
var mySession = "<%= Session["MyID"] %>";
alert ( mySession );
and when I place this code in my aspx page inside a script tag, it works fine. But it doesn't work in an ...
4
votes
6answers
5k views
Assigning Visible Property of the Button to a Static Method Result
I am trying to hide the button based on the user's role using the following code:
<asp:Button ID="btndisplayrole" Text="Admin Button" Visible='<%= ...