I'm using Gambas as my language.. :-) Now I have a problem getting some values from an XML document. I'm using xml.gb as my "plugin". The XML document is: "<ns1:Event> <ns1:Number>1</ns1:Number> <ns1:Name>Home Team - Away Team</ns1:Name> <ns1:Status Id="100">End</ns1:Status> <ns1:Results> <ns1:Result Id="0" Name="Result">2</ns1:Result> <ns1:Result Id="1" Name="Fulltime">2</ns1:Result> <ns1:Result Id="2" Name="Halftime">0</ns1:Result> </ns1:Results> </ns1:Event>" My code so far is: Dim i As Integer Dim iKampnr As Integer Dim iRes As New Integer[] Dim hXMLDocument As XmlDocument Dim xeElements As XmlElement[] Dim tempElements As XmlElement[] Dim xeNode As XmlNode[] Dim xsRecord As String[] Dim sSplit As New String[] Dim yData As New XMLNT Dim rData …

Member Avatar
+0 forum 0

Hi I would like to ask you the way i can call a static method when i need to know for exemple what price is bigger. I have 3 prices. How to set it? Help me please

Member Avatar
Member Avatar
+0 forum 1

I need to Retrieve the values from a XML file i have seen many example but none of them is like the XML I have. My XML look like this <component> <section> <code code="31011" codeSystemName="Codifica Interna Laboratorio" displayName="Etanolo (urine)"> <!--TRASCODIFICA ANALISI NON DISPONIBILE--> </code> <text> <paragraph> </paragraph> <table> <thead> <tr> <th>Esame</th> <th>Esito</th> <th>Abnormal Flag</th> <th>Unita di misura</th> <th>Range di riferimento</th> <th>Metodo</th> </tr> </thead> <tbody> <tr> <td>Etanolo (urine)</td> <td>&lt; 0,01 g/l</td> <td></td> <td></td> <td>fino a 0,35</td> <td /> </tr> </tbody> </table> <footnote></footnote> <paragraph> </paragraph> <!--Inizio Microbiologia sezione humane readable--> <!--Fine Microbiologia sezione humane readable--> </text> <entry typeCode="DRIV"> <!-- INIZIO MONO RISULTATO …

Member Avatar
Member Avatar
+0 forum 1

Hello! I am interested in the issue of protecting the code from hacking. Do you protect your code from decompiling and hacking? Why did the question arise? I worked in a team that developed games for Android. They all used obfuscators! So almost no one could hack their application. Now I am interested in the topic of code protection. I looked at the existing topics, they are slightly outdated (8-10 years ago were relevant). Use / not use obfuscator? Which to choose?

Member Avatar
Member Avatar
+1 forum 13

i'm trying to make price lable printer and i was able to print a single page for a single id, but my problem is when i'm trying to print more that one id i was not able to make it work, i'm still learning but i was hoping that someone can give me idea how to make it work Imports MySql.Data.MySqlClient Public Module thisModule 'Info for the Price Lable Public NameV As String Public IdV As String Public DiscV As String Public ArDiscV As String Public PriceV As String Public SalesPriceV As String End Module Public Class Form1 Dim connection …

Member Avatar
Member Avatar
+1 forum 1

Hi, I'm using NetBeans with Java. I have create a JFrame with some checkboxes and a button to open browser go to the specific URL based on the checkboxes' values. But how do I auto-login/auto fill the username and password textbox then trigger the login button? Please kindly advise. Thanks.

Member Avatar
Member Avatar
+0 forum 7

i need a code for authentefication user and password with c languge the user and password should be filled first in a .text

Member Avatar
Member Avatar
+0 forum 1

Hello everyone. I have been trying to get desired output since last 4 days and so far very near to it. I am really stucked in the logic. Please help me or help me in writing proper logic. Open the attached zip file for whole eclipse project. No need to touch any file except **com.designimplementation.elevator.controllers.ElevatorController** So far I am able to get **Average cycles per customer trip: 42.35841100754549** But I must be **Average cycles per customer trip: 30** Please help me asap. Thank in advance.

Member Avatar
Member Avatar
-4 forum 1

Im Stuck With Something, Iv Been Searching, And Searching And I Canot Find Any Information On How To Make SQL Database Show The Samething For Everyone, When Updated Of Coarse... I Can Make The DataTable And Put It On A Form But I Cannot Make It To Where I Add Something And It Update For People That Have Different computers... Please Help!!!!

Member Avatar
Member Avatar
+1 forum 3

Hi I need to show an image thumbnail in one of jTable cells But I don't know how to do it! I'm using netbeans to design GUI . How can I do that? Thanks

Member Avatar
Member Avatar
+0 forum 11

Can you please help me with write a python program to read five scores and output the average score and also output the amount by which that score differes from the average. I have done the average part but I don't know how to get the difference of all the scores from average. Please help. Total_exam = 0 for n in range(5): score = float(input("Enter a score:")) Total_exam = Total_exam + score #for average calculation #using average formula to calculate average avg = Total_exam/5 print("The average score is", avg)

Member Avatar
Member Avatar
+0 forum 1

So I have a poker type program where it should shuffle and deal a deck of cards using arrays of pointers. I have to write a function that uses a pointer(s) to determine if the hand contains an Ace. If I can understand this one, I'd be able to do the rest with no problems. I was told to do what I did with int decks, int dealt, int the_hand, but I keep getting errors. I've been trying everything I could think of, but no luck. Am I even in the right direction? Also, I read the book, reviewed my …

Member Avatar
Member Avatar
+0 forum 12

Hello everyone : ) i'm working on : [quote]Write a program that takes an input sentence from the user and on next line display the number of capitals letters in the sentence. Note: · User is not allowed to enter a sentence with more than 9 Capital letters. [/quote] what i did is : [code] .MODEL SMALL .STACK 100H .DATA MSG1 DB 'PLEASE ENTER YOUR SENTENCE: $' MSG2 DB 0DH,0AH,'THE NUMBER OF CAPITAL LETTERS IN SENTENCE :$' MSG3 DB 0DH,0AH,'You have entered more than 9 capital liter $' .CODE MAIN PROC MOV AX,@DATA ;initialize DS MOV DS,AX ;DISPLAY MSG1 LEA …

Member Avatar
Member Avatar
+0 forum 14

How much day's require to learn C++ ?

Member Avatar
Member Avatar
+0 forum 7

Hey folks, I've just started a CS class, and i need help with this material. I accept any feedback and advice to complete this assessment. [Tasks](https://imgur.com/a/jwHrmhR) What I did so far: Task 1 – Problem Decomposition a) b) PROGRAM <ATM_WITHDRAWAL> 1. DISPLAY 'Enter amount to withdraw’; 2. INPUT amount; 3. READ balance; 4. dispense cash amount; 5. balance = balance – amount; 6. DISPLAY 'Your balance is’, balance; END Task 2 PROGRAM <ATM_WITHDRAWAL> 1. IF card inserted 2. DISPLAY 'Enter amount to withdraw’; 3. INPUT amount; 4. READ balance; 5. dispense cash amount; 6. balance = balance – amount; 7. …

Member Avatar
Member Avatar
+0 forum 2

I create a project encrypt and decrypt data in vb.net how to use this code as a function please help it is work only on a textbox i want to send a string value then return encrypt value and when i send encrypt value then send me decrypt value. [Click Here](https://www.daniweb.com/programming/software-development/threads/375789/encrypt-decrypt-vb-net) **What I have tried:** `Private arLetterChars() As Char = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890 "` `Private arEncryptedChars() As Char = "******************************************************"` **' encrypt.** Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click, Button4.Click With TextBox1 For Each myTextBoxChar As Char In .Text '// loop thru TextBox, one char. at a …

Member Avatar
Member Avatar
+0 forum 1

I wrote a script that manages services on the server and starts/stops etc...depending on the Task in the csv file, as well as changes the startuptype, again depending on the start up type in the csv file. CSV file: > Server,Service,Startup Type,Task > server1,SQL Server Analysis Services (MSSQLSERVER),automatic,start > server2,"SQL Server Analysis Services (MSSQLSERVER), SQL Server Analysis Services (MSSQLSERVER) CEIP",Manual,stop Script $csvFile = Import-CSV .\SSAS_services.csv $ServiceState = Get-Service -Name $ServiceStartupType = Get-Service | select -property name,starttype ForEach ($row in $csvFile) { #checking if service in csv file exists on server if (Get-Service $row.Service | Select-Object Name, StartType, Status -ComputerName $row.Server …

Member Avatar
Member Avatar
+0 forum 1

im just new on c program can you help me on this ? problem : make a C program that will ask 10 numbers and store into an array. the numbers to be entered must be between 70 to 95 only output the average,number of grades below average, above average. if more grades are below average , will display " review your lesson" else " proceed to next chapter "

Member Avatar
Member Avatar
+0 forum 3

In my access database, I have a table for the master list of items discussed in a training meeting. If a certain item was discussed in a meeting, then the value in the database is 1, if it was not discussed, then the item is 0. I'm trying to get these values into checkboxes on my form, checked if the value is 1 and unchecked if 0. However when I run it, I get a "NullReferenceException was unhandled. Object reference not set to an instance of an object" The code for that subroutine is: Private Sub NavigateTrainingItems() chkDrugAlcoholPolicy.Checked = False …

Member Avatar
Member Avatar
+0 forum 7

How to save image from computer client to server using java?? Give me the source code..

Member Avatar
Member Avatar
-2 forum 2

Hi, I have been searching for freelance software developer on different websites for a while but failed to find him for the software I need. Been studying and researching a lot how could i come as close as possible to the solution i am looking for: what needs to be done is changes tracking (monitoring) of graphical widgets (Embed code) that contains speedometers. Similar to the one(s) behind the steering wheel in a car. Each speedometer contains different circular areas and what I want is to track (and get screen pop up alerts) when it graphically travels from one to …

Member Avatar
Member Avatar
+0 forum 12

Hi I have python code that can list all drive letters but now I need also list the name of drive letter (Label) and the size of hard drive like below! Ltr Label Size ---- ------ --------- C Windows 800 GB E Local Disk 200 GB F My Passport 500 GB Y Secret 1 GB import string from ctypes import windll def get_drives(): drives = [] bitmask = windll.kernel32.GetLogicalDrives() for letter in string.ascii_uppercase: if bitmask & 1: drives.append(letter) bitmask >>= 1 return drives if __name__ == '__main__': print (get_drives()) # On my PC, this prints ['A', 'C', 'D', 'F', 'H'] …

Member Avatar
Member Avatar
+1 forum 8

I want to create a game that computer guesses the number that i think between 0-500 but i am a beginner and i do not know what to do could you help me please ?

Member Avatar
Member Avatar
+0 forum 1

Hello, I need help on getting solution for the below python code. The code gives the required output which is that it dispaly number of prime number that user wants. if user inputs 4 Actual Output: 2, 3 , 5 , 7 The main question is that I do not have idea on how to give rank to those prime numbers. For Example: The 1st prime number is 2 The 2nd prime number is 3 The 3rd prime number is 5 The 4th prime number is 7 and so on. Can anyone please help to write the code to get …

Member Avatar
Member Avatar
+0 forum 1

I have some problems when working with Win32 api. 1. Changing the text and background color of a button doesn't take effect. My code: case WM_CTLCOLORBTN: COLORREF colorref; colorref = RGB(0,0,255); HBRUSH hBrushBtn; hBrushBtn = CreateSolidBrush(colorref); return ((LRESULT)hBrushBtn); break; 2. How do I create selectable text. My code: text = CreateWindow("STATIC","text",WS_VISIBLE | WS_CHILD , 0,0,100,60, hwnd , NULL, NULL, NULL); 3. How do I create a filled rectangle?

Member Avatar
Member Avatar
+0 forum 3

I see the software to charge credit card swipe, samsung pay, ... I want to find out how the swipe card works and write code to get payment information in the software sales. how ? You can share the code for me with.

Member Avatar
Member Avatar
+0 forum 1

Hi! We are a 4 member group for our thesis and we already have submitted 5 topic proposals yet nothing was accepted...and here are the topics: enrollment system, gadgets on track, employment resource system, subdivision technical entry pass Now, I need a help for new ideas that can be developed through visual studio and it can be a web-based or window-based projects. Hope you can help me Thanks in advance!

Member Avatar
Member Avatar
+0 forum 36

Hi guys, i'm having a difficulty to set the path in vb.net.i put the code in the module and every time i run the code it throws error "Could not find file 'C:\Users\Abdueie\Desktop\BMS\Bridge Asset Management\Bridge Asset Management\bin\Debug\Adigrat.accdb'." here's the code Public conn As OleDbConnection = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0; Data Source= .\\Adigrat.accdb;Persist Security Info=False")

Member Avatar
Member Avatar
+1 forum 8

Hey, I don't know if this is the right place, but my issue is taking an output from a software SPI and using it in another function for temperature. The code below is marked with my issue, however it's not the full code. The full code is for a lab assignment to display temperature and a clock on an LCD, and the clock is another problem on its own. Thanks in advance for any help. unsigned int SW_SPI(unsigned int Output) { bitClear(PORTC, CS_Bit); for (int i = 15; i >= 0; i--) { bitSet(PORTB, SClk_Bit); if ( PINB & 0x01){ …

Member Avatar
Member Avatar
+0 forum 1

I've been studying TDD for a few years and read quite a few books but none that good to be honest. Can anyone recomend any good ones. I'm not interested in BDD but am keen on anything that tackles the many problems of mocking intrinsic MVC objects.

Member Avatar
Member Avatar
+1 forum 1

The End.