Topics
-
-
- Administrators
- 2 replies
- 3.4k views
I am trying to study WPF and was wondering if it is possible to examine the XAML or "source code" behind the "native" elements such as Label. PS: I am using Visual Studio Professional 2012.
Last reply by JumpyNET, -
-
- 1 reply
- 5.5k views
Hello I need a simple application to read data from one USB port and send to other USB port in same computer. Please somebody help me. Thanx
Last reply by JumpyNET, -
-
- Administrators
- 2 replies
- 3.7k views
What are the 3D-file-formats supported by WPF in VS2012?
Last reply by JumpyNET, -
-
- 1 reply
- 3.2k views
Hey all i have a song playing that displays the time like so: 0:00 / 4:47 The first time is the tracks current time. The second is the total track time of that song playing. I split it like so: Dim tmpTimes As Array = lblSongTime.Text.Split("/") So tmpTimes(0) gives me 0:00 and tmpTimes(1) gives me 4:47. Now i tried to subtract the tmpTimes(1) from tmpTimes(0) Debug.Print(CDbl(tmpTimes(1).replace(":", "") - tmpTimes(0).replace(":", ""))) and i get: 447.. 446... 445... etc What kind of calculation do i need in order to return a descending count? Example: 4:47...4:46.....4:45...etc using the current time tmpTimes(0)?
Last reply by StealthRT, -
- 5 replies
- 19.2k views
Just started with ASP .NET this Saturday and it was the most frustrating experience I ever had. I went to bed Saturday, completely demoralized with the feeling that I had never coded on my life. Really frustrating... Anyway, after 2 full days of bumping the head I managed to setup the website's main structure, I'm now struggling on how to achieve these basic things (well I guess point 3 is not that basic): 1 - How can I make the DIV's height fill the browser's available space? I know that setting the DIV to 100% means it will re-size of the div based on the controls within it. So, do I need to code it? How can I get the webpage's height to compute the DIV's height? …
Last reply by mandelbrot, -
- 1 reply
- 7k views
I have 1 image and i draw some lines on the image. i want to insert this picture with the lines to SQL..how i can combine 2 different object become one, and insert to SQL??
Last reply by mandelbrot, -
- 1 reply
- 6.4k views
I have a module Option Strict Off Option Explicit On Module TXTread Public Function ReadTXTValue(ByRef KEY As String, ByRef Variable As String) As String Dim NF As Short Dim Temp As String Dim LcaseTemp As String Dim ReadyToRead As Boolean AssignVariables: NF = FreeFile() ReadTXTValue = "" KEY = "[" & LCase(KEY) & "]" Variable = LCase(Variable) EnsureFileExists: FileOpen(NF, frmStart.txtMessage2.Text, OpenMode.Binary) FileClose(NF) SetAttr(frmStart.txtMessage2.Text, FileAttribute.Archive) LoadFile: FileOpen(NF, frmStart.txtMessage2.Text, OpenMode.Input)…
Last reply by mandelbrot, -
- 0 replies
- 8.9k views
My application uses httpwebrequest class to access a secured service. I have received a certificate which I installed on the pc. the web service requires a username and password. I get the following message when running the app: "The underlying connection was closed. Could not establish trust relationship for the SSL/TLS secure channel" My code is below but I don't know what is wrong or what else to do. Thanks. Dim cert As System.Security.Cryptography.X509Certificates.X509Certificate cert = System.Security.Cryptography.X509Certificates.X509Certificate.CreateFromCertFile("c:\was33.cer") Dim defaultUri As String = String.Empty default…
Last reply by groads2, -
-
- Administrators
- Leaders
- 7 replies
- 13.8k views
Hi, I use Microsoft Access Database Engine 2010 and my code which I already used it somewhere else throws an error I can't understand! Can anybody help me as it's just a few lines and snapshots are attached? Thanks.
Last reply by PlausiblyDamp, -
-
- 3 replies
- 3.3k views
Hi EveryOne, Anybody can help me to convert the vb6 drawing to vb.net? i will attach the source code as well, pls help me. Thx 3DTube4.zip
Last reply by betty, -
- 3 replies
- 2.9k views
Hi xtreme.net people! I'm new here and I would like to get some great advises from you guys. I've been working with VB.Net for quite a long time now but I rarely have chance to get my hands on ASP.Net. With that said, I can say that I am still an amateur when it comes to ASP.Net. Thus, I'd like to get as many advises as I can when it comes to learning and exploring ASP.Net. I already know the basic stuffs but to make sure, I want to know the standard process in creating a professional asp.net website as well. Thanks in advance! Looking forward to your answers.
Last reply by betty, -
- 1 reply
- 3.6k views
I am quite new to VB but am quite familiar with XML my xml is 60,000 lines long and is a family tree type of thing as the xml is a little large to find your way around i have a VB.NET program that loads each node to a textbox, from that how to i update and save the xml to its original file, i can send the attributes to individual text boxes if that is easier, i only need to change the Name and Tag, never the id as that is how i navigate the file. I am reading the xml with XmlDocument My xml code is below <Root Name="ted" id="100" Tag="teddy"> <Root1 Name="Sam" id="101" Tag="Sammy"> <Root2 Name="Mary" id="102" Tag="Mandy"> </R…
Last reply by bokeh, -
- 0 replies
- 10.8k views
This is a long and complicated process to make a 100% accurate regular expression to validate email address, but, I have a good one with 2 bugs, it reports the following valid email addresses as invalid: user@domain.museum (6 letter domain which is only museum?!) user@1domain.com (domain cannot start with numbers!) Since I am not familiar with regular expressions I want to know if anyone knows how to fix this 2 bugs? Please explain each of them separately so in case I don't want to use the 1st fix I can! Dim AddressPattern As String = _ "^(([\w-]+\.)+[\w-]+|([a-zA-Z]{1}|[\w-]{2,}))@" & _ "((([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\.([…
Last reply by usvpn, -
- 0 replies
- 22.9k views
Hi guys, I have a couple of Linux servers that I want to monitor. I've been searching for good, and free monitoring software but have not really found what I'm looking for. Now I want to see if I can build it myself. I was wondering if anyone has done something similar before. How should I start, what do I need to keep in mind? Do I need to code something that goes on the server too? I want to be able to monitor the server load, memory used, CPU used, if the server is up, if specific ports are up and disk space. I know that it is possible to get connected with the server over SSH from .NET, but is there an other way? If so, how? I hope someone can help me,…
Last reply by mrpddnos, -
-
- Leaders
- 1 reply
- 22.2k views
How do you programatically open a file in c# to append? I tried searching online for an example and so far I have not found anything. There is System.IO.StreamWriter and there is System.IO.StreamReader but there is no StreamAppend. Is there some way to use StreamWriter without overwritting the content of the existing file? Is there some way to use System.IO.Stream with some sort of appending criteria?
Last reply by snarfblam, -
-
- 1 reply
- 4.2k views
ok, i got this windows form, with one combobox control and 4 texboxes what i want to acomplish is to populate the texboxes with data from the table, base on the selected item from the combobox. example. table name: RMA_Transactions Fields: Rma_Number, Supplier, Device,Model, Serial_Number the Rma_number is display on the combobox, no problem there for me. this is the code to populate the combobox" Private Sub Receive_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load Dim con As New SqlConnection(" Data Source=GX520B;Initial Catalog=ReturnEquipment;Integrated Security=True") Dim cmd As New SqlCommand("Select rma_number FR…
Last reply by leonel, -
-
- Administrators
- 13 replies
- 97.6k views
Hi All, In one the intranet sites which I have developed, i'm creating an excel file from C#.Net 2005-ASP.NET 2.0 application. In my local machine which runs on Windows XP the application works perfectly, but when I try to run the application in windows 2008 server machine it throws an exception. 'Exception from HRESULT: 0x800A03EC' What is running in the windows 2008 server machine is the published version of my application. I have all the required dlls and other application dependency files in the bin folder including Interop.Excel.dll and Interop.Microsoft.Office.Core.dll. The windows 2008 server machine has MS Office 2003 version installed…
Last reply by PatrickMoe, -
-
- 0 replies
- 1.7k views
I have a basic windows form in VB. I am using the following code to connect to a SQL database. The database has two tables. The goal here is have a user make a selection in one combo box and populate the other with only the records that match the query. The first combobox is populated by table tblsymbols column process. The second is populated by tblparts and should fill the box with all part numbers where the process columns match. Private Sub frmParts_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load Me.TblPartsTableAdapter.Fill(Me.KanbanDataSet.tblParts) Me.TblSymbolsTableAdapter.Fill(Me.KanbanDataSet.tblSymb…
Last reply by mulefeathers, -
- 0 replies
- 3.3k views
Hey everyone, I am hoping that this site will offer the expertise, and hopefully the assistance that other sites have been unable to give. I asked the question that follows on STACKOVERFLOW (my local place for assistance) a week ago, with no luck, and today posted on the msdn dev forums which has also received no information.... I shall begin... My Aim: I intend to make a program, which has two (potentially more) components. The first is a Windows form, nice and clean with some options on for a user to choose. In the most basic example, a user can choose an executable and push a button. This choice is then saved 'somewhere' and passed to our second component,…
Last reply by Glitch100, -
- 1 reply
- 2k views
Hello, I am a newbie in VB programming. I am listening, learning and developing a POS and inventory system for myself. I am using MS-Access as database and VB 6.0 in front end. I have developed few report through Data Environment and Data Report. Here is the scenario I need help very badly. As for my products I have code and tag price (tprice) in my program. I have a from which include two combo box containing the Invoice Number and Invoice Date of my purchase stock. and a MSHFlexgrid which contain the details of my purchased product as per following 3 columns (example) Code tprice Quantity 21MSTABUFI38 800.00 3 2…
Last reply by silversurf,
-
Who's Online 0 Members, 0 Anonymous, 20 Guests (See full list)
- There are no registered users currently online