Hi guys, how can I display data fetched from several rows on a crystal report. Im using vb.net. So far i can just display data fetched from only one row. Thanks for answering
I'm looking to create a custom date picker with code examples from several sources.
Is the code to display/hide an ASP.NET control when a user clicks a button usually done with JavaScript or ASP.NET code?
Please provide a simple example. (If ASP.NET, VB example preferred over C#)
The conditions are
- I don't have administrator privilege
- I want to see the status of a service in remote machine (server)
I use the following code (vb.net with framework 2.0) to see the status
Dim sqlSvc As ServiceController
Svc = New ServiceController(My.Settings.serviceName, My.Settings.machineName)
If sqlSvc.Status.ToString.Equals("Running") Then
displayStatus("success", sqlSvc.Status.ToString)
Else
displayStatus("error", sqlSvc.Status.ToString)
End If
When running the code, InvalidOperationException is raised and found out that I need admin right in the server.
Can I lookup the status of the service without having admin right in remote machine ?
how to remove specific element for example need to remove NET2... element from the XML by VB
I need to verify if NET2 element exist and then to remove it from the XML
root version="3.0"
NET1 ID="172.17.202.1"/
NET2 ID="172.17.202.2"/
NET3 ID="172.17.202.3"/
/root
THX
Yael
Hi.
I need to convert below mentioned file formats to pdf using C#/VB.Net. User will upload the file using FileUpload control and system will returns the pdf file after converting the document.
doc/docx to pdf
xls/xlsx to pdf
ppt/pps to pdf
Does ITextSharp provide such facility ? Please Only mentioned open source or free libraries.
Thanks
I have loaded my database with one table under "Data Connections" in the "Server Explorer" pane.
What is the standard / best-practices way to handle a simple query in a VB ASPX page?
My left <div> would be a set of form elements to filter rows, and when the button is clicked, the main <div> would show the columns I want for the rows returned.
Note: Answers in C# are okay too, I'll just translate.
How do I do a Case WHEN in Linq to SQL (vb.net please).
In SQL it would be like this:
SELECT
CASE
WHEN condition THEN trueresult
[...n]
[ELSE elseresult]
END
How would I do this in Linq to SQL?
i have a media player in vb form...with 2 files in a listbox as a playlist
now i want to create a fade between changing these files as a transition how can i do that...
What could be the cause of the above error when trying to use an MDB file from a VB app?
The access version of the MDB file is 6.68.
I have a feeling this might have been caused by someone trying to open the .mdb file from a newer version of Access and it may have corrupted the MDB.
How can this problem be solved?
i have a vb.net application
i published it
it made an app files diretory, setup.exe, and some other file
i need everything to be in one file because the users are not very computer savy
is there a way to bundle everything in one installation file?
I am looking for some good examples of Speech Recognition using VB. I am looking for recent examples, everything I have found is several years old. I am running Visual Studio 2010 with the most recent SDK. I was able to figure out text to speech but I am chasing my tail on speech to text.
I'd like to have a macro in Visual Studio 2005 that calls a DOS command and redirects the output (stdout and stderr) to a file. Just calling the command and "" redirecting it will not capture stderr, so there are two parts to this:
calling a DOS command
capturing both stderr and stdout to a file during that call
I'd then like to open this file in Visual Studio after the command completes.
I'm new to Visual Studio 2005 macro writing, and VB/VBA, so that's the kind of help that I'm looking for.
Thanks,
Mark
Hai,
i were working in Windows xp. last week I changed my OS to Windows 7.The project i have done in Vb.net(2008) . While running class not registered error comes. In another computer its works well. Why it comes.
Is there an easy way to get the relative complement of two sets? Perhaps using LINQ?
I have to find the relative compliment of a set A relative to B. Both A and B are of type HashSet<T> but I think the algorithm could be made more general (IEnumerable<T> or even ISet<T>)?
I could use a solution in either VB.NET or C#.
I think every business person would like to have excel UI, however they are forced into using web applications that sometimes look like really bad excel.
Are there any frameworks that help build excel ui without VB? I dont mean framework like POI or JExcel that allows you to generate excel reports.
Hello , how do I disable browsing to a http link from a Html editor. I have a vb.net web form with a html editor, when I add a hyperlink to the html editor, for example my application website for instance
http://myapplication/myloginpage.aspx
When I run and click the link I can browse my application from inside the Html Editor, which is so weird. How do I stop this from happening.
This is an Intranet application. And the component for Html Editor is of TMS.
I add two buttons in personalized Control ToolBar, this ToolBar is used in several VB.NET windows forms and some toolbar buttons does not show correctly, the right side buttons are hidden and are very important to show all of them.
How I get to modify this windows forms width using a script or VS 2008 IDE macro ?
I created my own custom date picker consisting of an ASP TextBox, Button, and Calendar complete with CSS styles, javascript code, and event handling vb code.
I want to use this date picker multiple times on my form. I know the wrong way to do this would be to copy all the code and just adjust each name accordingly.
How can I put those controls, styles, and code into a single entity?
I'm trying to bind an image using Eval() with VB.NET and ASP.NET, but am running into issues:
Code snippet
<bri:ThumbViewer Id="Th1" runat="server"
ImageUrl='<%# Eval("Name", "~/SiteImages/ram/3/{0}") %>'
Height="100px"
Width="100px"
/>
I set strImagePath in the code-behind as:
strImagePath ="~/SiteImages/ram/3/"
How can I replace:
~/SiteImages/ram/3/{0}
with the variable strImagePath?
I to implement sql Server Profile in C#/VB.net application, Can any one has good example of it, I have search on google but didn't find good working example, I don't have Sql server Profiler tool on my system ans also don't have Sql Server (it is on difference system).
how do I can create profiler for my own
This is my first major application using multiple classes. It is written in vb and I know about creating objects of the class and using that instance to call functions of the class. But how do I create an object with constructors to allow another program written in C# to access my classes and functions and accept things from the program.
Hope this makes sense.
I am developing a website where I need to send confirmation link to the user's e-mail account when he/she signs-up.
When user clicks this link then a field userEnable in database changes from "false" to "true".
How do I send a confirmation e-mail to a user when user clicks on the signup button.
When user clicks on this confirmation link then how would the field UserEnable change from "false" to "true"
I am using asp.net 4.0 with VB.NET as the language and SQL Server 2008 for my database.
Hello,
I have an array DetailsArray in VB.NET which contains the result of a LINQ query. I have shown below the values of the array. i need to get the "ProjectID" from the array and assign it to 'ProjID' variable
DetailsArray (0){Name =
"TestProject1", ProjectID = 10}
Dim ProjID as Integer = DetailsArray(??)
How would I do that?
Thanks in advance.