Today I researched about reportviewer to use it in my project. As I see the samples and tutorials in the web, We should create an dataset file to Solution Explorer and bind it to report viewer to show data.
However I want to create dataset programatically like sample code below. And I want to bind it.
Dim ds As New DataSet
DB_Gateway.myDataSet("select * from users", ds, "users")
How can I do it?
I'm just beginning to use Linq-to-SQL and it's just wonderful to use. The problem is, this software is going to be run on a lot of machines and each machine will have a unique connection string.
Is there a way for me to manually set the connection the Linq-to-SQL (.dbml) uses?
The way I'm doing things now is creating the .dbml file, and in the graphic designer I'm dragging tables from the Server Explorer to the white board of the .dbml.
How do i configure selenium WebDriver.I have automated test cases using Selenium.Now i need to automate upload and download of a file.So i have to automate using WebDriver.I had added webdriver-common-0.9.7376.jar.Now how do i instantiate for Internet Explorer?
Am just decalring variable and using driver
private static WebDriver driver;
driver.findElement(By.id(upload)).sendKeys("file to be upload");
Is this correct?
I have installed VSTFS on a machine using the local admin. Now the machine is added to the domain and the local admin account is deleted. After which I am unable to login to VSTFS using Team Explorer or the web console.
How can I readd a new admin or create more users?
var musicsrc="jyothir2.mp3";
if (navigator.appName=="Microsoft Internet Explorer")
document.write('<bgsound src='+'"'+musicsrc+'"'+' loop="infinite">')
else
document.write('<embed src=\"'+musicsrc+'\" hidden="true" border="0" width="20" height="20" autostart="true" loop="infinite">')
friends my javascript( for background music) codes is producing a continuous music in IE but the music is not continuous in other browsers.. can anybody tell me why is it so?
Ahoy,
I'd like to mount a "virtual drive" myself on Windows XP, I guess using the windows API.
What I thought about would be like a server interface, meaning explorer.exe would send "queries", like, list directory, or get file through a pipe or whatever...
I know some programs do it, maybe not the way I think it is done, but what the heck,
if you know anything, enlighten me please!
Hi,
When I bind a mousemove event to an element it is working smoothly with every browser except Internet Explorer. With IE the CPU usage is way too much and some associated things (eg. tooltip) are ugly. Is there any way I could rid of the performance problem? (yeah I know, don't use IE :))
Hey Friends,
I want to disable the broswer back button without using javascript. So far i have used this coding:
Response.CacheControl = "no-cache"
Response.CacheControl = "private"
Response.CacheControl = "public"
It's working fine in the internet explorer 8 but in case of mozilla fire fox it is not working.pls say same the solution to work in all browsers.
Thanks in advance
With Regards
V.karthik
Our investigations have shown us that not all browsers respect the http cache directives in a uniform manner.
For security reasons we do not want certain pages in our application to cached, ever, by the web browser. This must work for at least the following browsers:
Internet Explorer versions 6-8
FireFox versions 1.5 - 3.0
Safari version 3
Opera 9
Our requirement came from a security test. After logging out from our website you could press the back button and view cached pages.
I have an Interop assembly lying in GAC; Windows Explorer clearly shows it listed in the C:\WINDOWS\assembly folder. Yet, when I try to add a reference to it in from Visual Studio, I can't see it anywhere in the Add Reference dialog.
If this is happened to you too, what is the reason for this? And how do I fix this?
(The assembly is actually located in C:\WINDOWS\assembly\GAC_MSIL folder, if you must know.)
I am using windows forms and when I use a MenuStrip item, I get something that looks like this:
http://imgkk.com/i/ggn1.png
Is it possible to use menu strips like the ones the system uses, like in Windows Explorer, or Firefox, for example:
http://imgkk.com/i/cxyg.png
with Windows Forms, or C# in general?
I think I've seen Gmail do it in Chrome or Internet Explorer, but I've never seen it in Firefox. I thought I'd ask anyways. Is it possible to do a file upload without requiring an <input type="file" />? I see that you can use iframes to automatically submit the file input, so my question is
Can you programmatically pop up a file upload dialog?
If so, what browsers is it supported on?
Hello.
I am trying to get a list of local network computers. I tried to use NetServerEnum and WNetOpenEnum API, but both API return error code 6118 (ERROR_NO_BROWSER_SERVERS_FOUND). Active Directory in the local network is not used.
Most odd Windows Explorer shows all local computers without any problems.
Are there other ways to get a list of computers in the LAN?
When I try to select the following "File Open Web Site" or use the shortcut key "Shift + Alt + O" (which does the same), Visual Studio 2008 hangs with the loading mouse icon for about 8-10 seconds then the file.
But if I do "File Open Project/Solution.." or "File Open File..." the explorer window comes up in under a second, instantly most times.
Computer Specs:
Windows 7 x64
Visual Studio 2008 Pro Edition with Service Pack 1
Intel Core2 Due e6420 @ 3.2GHz
4GB DDR2
How can I snuggle into another process? Like, share another process's name? So if my application is griddemo.exe, and I want to snug into, let's say, explorer.exe, is that possible? Just read something about CreateRemoteThread() from kernel32. Is that in the right direction? Would there be security/UAC issues?
I'm looking for an easy way to find the process tree (as shown by tools like Process Explorer), in C# or other .Net language. It would also be useful to find the command-line arguments of another process (the StartInfo on System.Diagnostics.Process seems invalid for process other than the current process).
I think these things can only be done by invoking the win32 api, but I'd be happy to be proved wrong.
Thanks!
Robert
Is it possible to get the currently logged in user's username with Silverlight? You can assume that user has Windows OS and the Silverlight application is hosted in Internet Explorer. Getting the identity from server side with ASP.NET is not an option, this SL application will be hosted on a static HTML file.
Every time i click on a link it opens in internet explorer but i want it to open in another window of my web browser
Details : i have made a tabbed web browser using a tab control because every where else i have looked is just for a normal web browser please help.
How can I snuggle into another process? Like, share another process's name? So if my application is griddemo.exe, and I want to snug into, let's say, explorer.exe, is that possible?
HI all,
I have Ishare URL " www.example.com\ishare " which i opened it thru wshshell.
I want this page to be reloaded every 10 seconds. any help on this would be much appreciated. following is the script,
Dim WSHShell
Dim oShell
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.Run("iexplore https://Infrastructure/IA/Lists/Incidents/AllItems.aspx")
oShell = "Incidents - Microsoft Internet Explorer"
WSHShell.appActivate(oShell)
WScript.sleep 500
WSHShell.SendKeys "{F5}"
Set WSHShell = Nothing
When I take pictures using android.hardware.camera and I save them to the following location /sdcard/dcim/camera/ they don't appear when I launch the gallery. Is there a process for getting them to show up in the gallery that I missed?
I can see my images using a file explorer and know they have been saved.
Hello all
im using Qwebkit and every time im loading youtube , its asking me to download the latest
flash player plugin , even so i already installed the plugin and i can see youtube videos
in firefox and explorer very well
what is the deal with Qwebkit and Flash plagin ?
I just installed VS 2010 and I like what I see. Can you guys share some cool things in VS2010? myself I like the Architecture explorer a lot. Looking forward to your tips.