Hi everyone,
i'm a newbie in using jasperreports. In my swing application i wanna show jasper viewer inside a jpanel or jframe..! can anyone help me out..?
Thanks in advance...!
Hey, super newbie question. Consider the following WCF function:
[ServiceContract]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)]
public class Service1
{
private static NLog.Logger logger = NLog.LogManager.GetCurrentClassLogger();
[WebInvoke(UriTemplate = "",
Method = "POST",
ResponseFormat = WebMessageFormat.Json,
RequestFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Bare) ]
public SomeObject DoPost(string someText)
{
...
return someObject;
In fiddler what would my request headers and body look like?
Thanks for the help.
Hi, Python newbie here.
I have a list L = [a, b, c] and I want to generate a list of tuples :
[(a,a), (a,b), (a,c), (b,a), (b,b), (b,c)...]
I tried doing L * L but it didn't work. Can someone tell me how to get this in python.
I've been reading the Head First iPhone Development book and I understand how to get to a new view from a table but how exactly would I be able to get to a new view or view controller, by just simply pressing a button? Is that even possible?
I mean there are some apps where you click a button, not a table cell and it loads a new view. How exactly is that done? If someone could help out a newbie it would be greatly appreciated!
Hello!
I know C# , but I am a total newbie regarding threading and I am having trouble to understand some basic (I think) concepts like signaling.
I spent some time looking for some examples, even here, without luck.
Maybe some examples or a real simple scenario would be great to understand it.
Thanks a lot in advance.
We are using Mysql.exe to restore database by the following query
string cmd ="-h" + ViewState["host"].ToString() + " " + "-u" +
ViewState["user"].ToString() + " " + "-p" + ViewState["password"].ToString() +
" " + ViewState["dbName"].ToString() + "<" + " " +
Server.MapPath("BackupFiles/") + path;
The same query is executing in MySql command prompt but we are not able to restore using the above query in VisualStudio .Net, we have tried MysqlImport.exe to do the restore but it was no use. we are newbie to MySql if any help would be appreciated.
This is a very newbie question.
I want to know how to create a WEB APP to make Call ( using VOIP protocoll I think ).
What program languages do I have to learn ( client and server side ) ?
how to do the 3D Animation in java? what are the packages to be needed? i am very newbie about this topic. Sample Code, Tutorials and articles are more thankful. Tell me how i have to start please?
NOTE: its for Mobile Appication.
Hi,
I have a newbie question,, how do i add a string template to the views folder in a .net mvc project?
i have added a reference to StringTemplate.dll and antlr.runtime.dll but seems that is not enough. i.e. when i right-click on views and choose Add New Item i can't find a file with .st extension in the list that i get...
how do i achieve that?
Thanks a million in advance
I am wondering what the different color schemes mean in the following:
What does the blue C tag mean? and the purple one?
Disclaimer: absolute OSX newbie here... please be gentle ;-)
I have two models device and log setup as such:
class device(models.Model):
name = models.CharField(max_length=20)
code = models.CharField(max_length=10)
description = models.TextField()
class log(model.Model):
device = models.ForeignKey(device)
date = models.DateField()
time = models.TimeField()
data = models.CharField(max_length=50)
how do I get a list which contains only the most recent record/log (based on time and date) for each device and combine them in the format below:
name,code,date,time,data
being a Django newbie I would like to implement this using Django's ORM. TIA!
Hi everyone!
i'm a newbie in Jquey and i don't know how to do my homework, pls help me !
i have a String EX: this is my text, press here.
Now i put in o block character : [here]
how can a take slipt string and get text in [ ] into variable 'done'?
thankyou !
This is a newbie question in R. If you have two libraries in R with same function name (and one masking the other) then how do you use the masked function.
A concrete example:
Both UsingR and QRMlib have the function QQPlot(), and UsingR's QQplot is masking that of QRMlib. How can I use the QQplot function of QRMlib.
Thank you
Currently, i have a google web search. If a user searches starbucks, I would only want to retrieve the company or product information, not some other weird links like blog pages, using javascript, is it possible to do so? if yes, how am i able to do it? Kind of a newbie in the data mining part..thanks!
Added my coding for download for clearer understanding : http://www.mediafire.com/?mzgo233kngm
Hi there, I'm almost a gtk newbie, and I'm looking for a way to get the background color for the current theme in gtk. So this code:
GdkColor color = gtk_widget_get_style(mainWindowHandle)->bg[GTK_STATE_NORMAL];
works only after the main window is shown, before returns an strange ugly gray.
I apologize ahead of time for what I'm sure is a complete newbie lapse. Running my iPhone app on iPhone simulator - no problem. But I loaded the app on an iPhone device for the first time and it appears as if the SQLite database I'm using (NSManagedObjectContext) isn't connected or didn't upload. The app installs but with no data. How do I get it all to upload and work on the device?
I appreciate any help.
lq
Hi,
I'm newbie in t-sql, and I wonder why this query executes so long ? Is there any way to optimize this ??
update aggregateflags set value=@value where objecttype=@objecttype and objectcode=@objectcode and storagetype=@storagetype and value != 2 and type=@type
IF @@ROWCOUNT=0
Select * from aggregateflags where objecttype=@objecttype and objectcode=@objectcode and storagetype=@storagetype and value = 2 and type=@type
IF @@ROWCOUNT=0
insert into aggregateflags (objectcode,objecttype,value,type,storagetype)
select @objectcode,@objecttype,@value,@type,@storagetype
@value int
@storagetype int
@type int
@objectcode nvarchar(100)
@objecttype int
There is not foreign key.
This is a very newbie question.
I want to know how to create a WEB APP to make Call ( using VOIP protocoll I think ).
What program languages do I have to learn ( client and server side ) ?
Hello, I have a simple project on C#.NET and have written it in Visual Studio 2010. I am a newbie in C# and Visual Studio.
I have written some unit tests, and they pass ok, but how can I test code coverage?
Thanks in advance.
I'm a newbie to regular expressions and I have the following string:
sequence = ["{\"First\":\"Belyuen,NT,0801\",\"Second\":\"Belyuen,NT,0801\"}","{\"First\":\"Larrakeyah,NT,0801\",\"Second\":\"Larrakeyah,NT,0801\"}"]
I am trying to extract the text Belyuen,NT,0801 and Larrakeyah,NT,0801 in python. I have the following code which is not working:
re.search('\:\\"...\\', ''.join(sequence))
I.e. I want to get the string between characters :\ and \.
Hi,
I'm a matlab newbie and i'm in trouble for a very silly (i guess) question.
Well, i have a variable a = 1.
I want to generate a variable name like :
variable1
How can i do that?
Thanx for any answer!
I have a newbie kind of question which I cant get my head around. How does the Proc in the if condition of the caches_action get executed for the caches_action method.
for example
caches_action :show, :if=Proc.new{|x| something}
what i dont get its how does this get called.
I know i can execute a proc defined as
proc= Proc.new by
proc.call
so i dont understand how this gets called.
Second how do I pass conditions like
if logged_in?
I'd appreciate any help on this
Hi,
I'm a newbie in applescript. I was trying to learn it from various sources, such as Doug's site, macscripter and this forum
Just for learning purposes, I was trying to print on the screen all the tracks names using this code:
tell application "iTunes"
set myTracks to (tracks of library playlist 1)
repeat with aTrack in myTracks
get name of aTrack
end repeat
end tell
But it only prints one track name, probably the last one...
So, how is the best way to iterate over a list?
TIA,
Bob
I don't think I'm missing anything. Then again I'm kind of a newbie.
def GET(self, filename):
name = urllib.unquote(filename)
full = path.abspath(path.join(STATIC_PATH, filename))
#Make sure request is not tricksy and tries to get out of
#the directory, e.g. filename = "../.ssh/id_rsa". GET OUTTA HERE
assert full[:len(STATIC_PATH)] == STATIC_PATH, "bad path"
return open(full).read()