Hello everyone,
I need to create a a simple java function where I can put start and end datum in the format 201901 up to 202052
that means every year have got 52 week. so the randomizer put a value between year 2019 and 2020. also a week between 01 to 52.
and the format need to look like...
Hello everyone,
Since I am new to java I am not sure if this is the right way of do this.
Anyway I have created following methods:
public static String UserCredentials(String Username,String Password)
{
//Credentials for Terminal
Username="Root";
Password="Test1234";
return...
Hello everyone,
I am very new to java,
I am trying to create a public class Person see below:
public class Person {
public Person(String name,String LastName)
{
System.out.println("Name:"+name);
System.out.println("LastName:"+LastName);
}
public static void...
Hello everyone,
I am very new to Java
what I need to do is like below:
Public Class1
that is an arrayclass that holds multi arrays + lists is my thought.
Public Class2
here is where I fill the arrayclass from Class1 with arraydata.
Public Class3
here is where I use the array class1 that...
Hello everyone,
I am very new to Java
what I need to do is like below:
Public Class1
that is an arrayclass that holds multi arrays + lists is my thought.
Public Class2
here is where I fill the arrayclass from Class1 with arraydata.
Public Class3
here is where I use the array class1 that...
Hello everyone,
I have got following folder structure:
FuncLib
ObjReb
Temp
TestData
TestSuite
I am using QTP/UFT Test-automation its (vb.net)
with following command I get current folderpath:
TestPath =Environment("TestDir")]
result:
C:\XXX_xxxxx_xxxx-xx-xx\TestSuite\Maincase
now I need...
Hello everyone,
I have made following code,
Dim UserNameArr()
Dim PwdArr()
Public sub ExcelDataToArr()
TestData=Environment.value("TestPath")&"Testdata\DB.xlsx"
Datatable.Importsheet (TestData),"TestDataDB",1
intRowcount=DataTable.GetSheet(1).GetRowCount
For iLoop = 1 To intRowcount...
I am very new to UFT,
I am currently is doing automation for MainFrame also Terminal emulation.
Path to exe file
"C:\Program Files (x86)\IBM\Personal Communications\"
this is my atempt below:
Public Sub CreateTerminal()
Function Terminal()
Dim qtApp 'As QuickTest.Application ' Declare...
Hello people,
The code does following:
Loop through all Cells for every row in the Master file.
for each cell open a Separate file Loop through all used cells in column in "H", If the cells are equal take the Cell same row Column "i"; paste it in the Master file to the same row as the first...
Hello people,
I am pretty new to PHP,
I have made following pages
Index.php
contains following code:
<?php
session_start();
$_SESSION['foo']='
<?php
function foo()
{
echo "asdasdd";
}
?>';
?>
<a href="pag2.php">link </a>
Below is my code for pag2.php
<?php
session_start()...
Hello People,
below is a picture of how my result looks in the datagridview
I have made a simple SQL Query that put the results in a data-table where I already prepared certain columns I have created.
there are 20 different columns.
The picture below includes a column headed ”order number”...
Hello people
I have made a datatable with certain column names, I put the result from a SQL Query into the data table.
now is my problem
when I loop all items in a certain column I recieve this message:
[highlight #CC0000]There is no row at position 10.[/highlight]
this is my code:
If...
Hello people,
I have got following string
dim mystring as string ="(1)10002 – Language: ENG-DEU;Reuse: 25;Context Match: 10;Total: 35;Include CM in Reuse: Yes;"
I have made my regex in ultraedit also the regex type is unix.
I want to search for regex below:
Language(.*)\p(.*)\pContext...
Hello everyone,
I have made a SQL Query string that gather data from two different columns in a database (column "ordernr" and column "CM") actually I would like to combine the columns to one column but the objects is seperated by a use "----" between from the query but I didn't succeed I tried...
Hello people,
I have started to create a program where the goal is to use the primary soundcard as a radio station.
I have done much research but it seems like no one have made this kind of solution before.
Now is my issue how to make my app play the sounds from the soundcard that is in use...
Hello all
I have made a code that looks for a zip-file then take all the digits from the zipfile name and creates a folder with the name also unzip the content to the created folder.
now is my issue.
I need a loop/ a function that zip all the zipfiles inside a zip.
I have read some on google...
Hello people,
I have got a very long Query.
my goal is to make a very user-friendly interface where the user can select from lots different query criteria.
I did try to create an arraylist where each item presents a SQL column/SELECT/WHERE from the db example:
Dim QueryList As...
Hello people,
I have made following code,
I wonder how do I change the Handles to display the result from my query immediately?
see code below:
Private Sub Cbx_Year_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Cbx_Year.SelectedIndexChanged...
Hello people,
I have got a program that compares two text files.
Dim fileA = File.ReadAllLines("C:\Paths.txt")
Dim fileB = File.ReadAllLines("C:\OrderNames.txt")
Dim noAdress = String.Join(Environment.NewLine, fileB.Where(Function(b) Not fileA.Contains(b)))...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.