Using Ms SQL Server 2005 and Management Studio how do I insert a picture into an Image type field of a table?
Most importantly how do I verify if it is there?
I am working on java swing application in which i have to give html files to the client to browse them in swing API.
Now i want to create the setup for the project so that user could install the software on their computer and i want to include html files , java classes some jar files and ms access database also how could i use the path of directory created after the installation of software.
Please suggest the code if possible
Can anyone recommend a tutorial on how to write a Java Servlet which connects to MS SQL server and manages data?
I'm trying to write something which pulls products out of one database and inserts them into a stored procedure located on another database.
Thanks in advance.
While installating MS-CRM:I got sql server errors:-
1Service MSFTESQL not found. The specified service does not exists as an installed service
-----but i can see the service is running automatically and help file says
"verify that you have local administrator permissions for the computer on which sql server is running. And if necessary grant the needed permissions."
how to achive this.
Suppose your for-sale software product uses some free open-source library at runtime. Therefore, you need to distribute the FOSS product in the unchanged, binary form with your product. Which open-source license permits such distribution and under what conditions? I'm particularly interested in three licenses:
Apache 2
MS-PL
MIT
Is there any way in Visual Studio 2003 that I can delete a line without it being copied into the clipboard?
There are instances when I want to copy the first line of a block of text and then delete the following n lines but this then puts the last line I deleted into the clipboard, which is very annoying. I have come from a brief keymap background and I could easily do this with Alt-D.
And while I'm on the subject, why on earth have MS stopped supporting the brief keymap?
Does Microsoft use or plan to use Silverlight in its own web applications like MS CRM? Is there any known risk for Silverlight LOB applications instead of ASP.NET? Is this a stupid question?
Given the recent release of VS 2010 I was shocked to see the pricing structure for the different versions of the product. I was lucky enough to receive free versions of VS 2005 and 2008 from attending various MS events. For the hacking I do at home I'm not sure I'm going to spend the money to purchase the IDE and wanted to see what others were using.
Like
SharpDevelop
MonoDevelop
Expess Editions
I can compile DLLs properly using mingw and do the exports/imports stuff. What I am looking for is defining the dll onload function properly as you would in MS VC products. Google didn't turn up anything. Anyone have any ideas or a link to a tutorial?
It was suggested that this code snippet be added to the question:
extern "C" DLL_EXPORT BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD Reason, LPVOID LPV)
And yes, this is what I am trying to do, but with mingw.
I have C# web application that I want it to send out an email on a certain date, such as if equipment isn't returned on the day it was due. Data is in MS SQL database.
I've got all the email code already done, and I'm just curious how do I trigger this email, say after the COB on that particular day?
Thanks,
Eric
Windows Phone 7 has just been unveiled and right now there is no publicly available information to non-privileged developers/partners.
MS are announcing all details of the development chain at the Mix10 conference.
So until then this could be a good starting point/collection of online resources as they appear
EDIT: I've added the speculation tag so we can also accumulate speculation. Please mark speculative posts as such. once firm details are announced we can confirm or delete them
I've been banging my head against the wall for a few hours how trying to sort this out. I'm trying to position one div on top of another for the purpose of fading one in on top of the other. The divs will have an image and some other html in them. I cannot get opacity to work in ie8. I've simplified my html as much as possible:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style>
* { margin: 0; padding: 0; }
.carousel-container {
position: relative;
}
.carousel-overlay {
position: absolute;
}
#carousel-container-a {
opacity: 1;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
}
#carousel-container-b {
opacity: 0;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
}
h1 { font-size: 100px; }
</style>
</head>
<body>
<div id="carousel-container-a" class="carousel-container">
<div class="carousel-overlay" style="left: 10px; top: 10px;">
<h1 style="color: black;">Showcase</h1>
</div>
<!-- other elements removed for simplicity -->
</div>
<div id="carousel-container-b" class="carousel-container">
<div class="carousel-overlay" style="left: 20px; top: 20px;">
<h1 style="color: red;">Welcome</h1>
</div>
<!-- other elements removed for simplicity -->
</div>
</body>
</html>
Why doesn't the opacity work? How can I make it work?
I'm trying to execute this on MS-SQL but returns me an error just at the Group by line
update #temp
Set Dos=Count(1)
From Temp_Table2010 s
where Id=s.Total and s.total in (Select Id from #temp)
group by s.Total
Do anyone knows how can I solve this problem having good performance.
Hi. I'm getting an exception from SQL Data Reader (MS SQL as datastore) and I'd like to know which column name causes this Exception to be thrown. But I cannot find it in the InnerException.. nowhere.
((System.InvalidOperationException)ex.InnerException).StackTrace:
System.Data.SqlClient.SqlDataReader.ReadColumnHeader(Int32 i)
System.Data.SqlClient.SqlDataReader.IsDBNull(Int32 i)
...
Where is it hidden please ?
From within Java, I am opening an Excel file with the default file handler (MS Excel, in this case :-) ) using the method described in this stackoverflow question:
Desktop dt = Desktop.getDesktop();
dt.open(new File(filename));
However, the Excel program doesn't get the focus. Is there any easy way to do so?
Edit: There is a related stackoverflow question for C#, but I didn't find any similar Java method.
I need to run this line from my c++ program:
java -jar test.jar text1 text2
the java app will give a float value and give it to the c++ program.
How can I do this? I never call a java stuff before from my ms visual studio C++ file.
Hi all
When we install some applications in Winodws, we would get a dialog ask us if we want to attend the some consumer program, and send some system/applcation information to the company. Or when the Window server meets failure, it would also send error report to MS. I want to know, how can a application send information from client to report?
Best Regards,
I am looking for function in postgre that returns last inserted id into table.
In MS SQL there is SCOPE_IDENTITY(). Is something same in PostgreSQL?
Please, do not advise use something like this:
select max(id) from table
When I run apache bench I get results like:
Command: abs.exe -v 3 -n 10 -c 1 https://mysite
Connection Times (ms)
min mean[+/-sd] median max
Connect: 203 213 8.1 219 219
Processing: 78 177 88.1 172 359
Waiting: 78 169 84.6 156 344
Total: 281 389 86.7 391 563
I can't seem to find the definition of Connect, Processing and Waiting. What do those numbers mean?
Is there a plug-in like the java applet @ SQLinForm.com for MS SQL Server Management Studio 2008?
I tried SSMS tools based on someone's answer to my previous question but I don't find any functionality to format (beautify/tabify) SQL.
If somebody could please point out that in SSMS tools or suggest some other tool (preferably free)
Thanks :)
Since I am writing a seminar work on "Transaction Processing in MS Azure" for my university I wanted to launch a bank-transfer simulation. I already have implemented a getting-started thingy to get familiar with Azure: http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/48/Default.aspx . Question: What is the most easy way (using SQL Azure) to implement a small app which (dis)proves that transactions in Azure are done properly? (e.g. no lost updates)
hi
i am trying to set ToolBarTray orientation dynamically.
So that i can create a auto adjusted toolbar same as ms ofiice 2003.
its urgent .................:-((plz help
Since MS will stop supporting anything before IE 8 soon, I am not sure if I should make my web app compatible with those older browsers. I know there are still people using them but I don't know if there are enough to make it worth while.
Any suggestions as to how to decide what version to support?
Thanks.
Hello,
I'm trying to open a write-protected ms excel 2007 file using win32com in python -- I know the password. I can open it with user input of the password into the excel dialog box. I want to be able to open the file without any user interaction. I've tried the following, but it still pops up the dialog box.
app.Workbooks.Open("filename.xls", WriteResPassword="secret")
Any ideas what I'm doing wrong please?
Thanks,
Dave.