473,537 Members | 2,825 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

General Forum

For Miscellaneous Answers and Insights that don't fit in existing topics
0
2,586
thread by: alex2414 | last post Jul 8 '21 by: alex2414
Can you create a dynamic receipt pos template that is easy for a user to change. One that can easily be printed from a windows OS to a thermal receipt printer. Mostly 3 1/8 inch and 2 1/4 inch ( the most common width for pos rolls) Here is the sample https://drive.google.com/file/d/1ceB0ckoAUqnvemjtc-dRsKEkvQ8itM23/view?usp=sharing I want to be able to change the logo header to any one I want. I want them to structure it like that one but leave it easy to move and change the way it is. And of course have a barcode at the bottom.
1
3,960
thread by: Wgtmggejg | last post Jul 15 '21 by: priti9525
Hi, I trying to make a message box appear if field of exceeds the field, I would also need that the quantity entered is allowed. intention is to show that user has exceeded the required quantity...but still allows him to do so. Using Access and VBA to do this, but the below will not accept number higher than the boxes remaining. Private Sub Quantity_Change() If [Quantity] > [Boxes_remaining] Then Cancel = True MsgBox "Quantity greater than remaining boxes", vbInformation End If End Sub
1
2,330
thread by: Oskars | last post Jul 19 '21 by: dev7060
Hello, im trying to create new file and rename but without success can some one tell me how to do it public void savebytetobinary(int address, byte data, string filename) { FileStream fsi1 = File.OpenWrite(filename); BinaryWriter bw1 = new BinaryWriter(fsi1); fsi1.Position = address; bw1.Write((byte)data); fsi1.Flush(); bw1.Close(); fsi1.Close(); fsi1.Dispose(); }
2
4,362
thread by: Randomdude12 | last post Aug 11 '21 by: luckybansko
Hello! Why can't I get the directions? I'm a beginner and I have no clue where the problem is. When I open it in the live browser I can see the map but no option to choose routes. [code] Google Maps JavaScript API v3 Example: Map Simple
Start End
[/code]
1
22,217
thread by: andreabiancu | last post Jul 29 '21 by: dev7060
Hi guys. I have just created an intranet in my online store and I'm new at programming so need some help. I'm developing a system that makes this possible: when a user registers, the database detects that they are already a customer who has bought previously and it makes their purchases appear on another page, in this case, in the section of their profile. I need some help since I don't know how to do it or how to link the php and Mysql code between the registration form and the existing user profile page since it is not a tool that prints the user's data on the same page but rather prints them in another, in the profile section. Thank you very much in advance! :)
18
13,425
0
3,086
xarzu
thread by: xarzu | last post Jul 28 '21 by: xarzu
Are there special uses of VPN that is part of every web browser now? Working remote seems like a good thing. I am new to it albeit it seems lots of developers are already doing it. I have been giving all the network, username, and password information and I am told that I can "HTML5 VPN Portal (any browser)" ... whatever that means. Please tell me whatever that means !! How is this done? So far all I know about VPN is that it is a bit of software I can use to mask my location. Apparently it has more than one meeting. I suspect there is a common use of VPN or maybe others on the team are calling "VPN" something else. I now there is a secure site login. Is this what this is? Apart from using google or a search engine to look up an answer to this, I feel a sense of urgency to engage in social media and web forums for an answer. This seems like a bit of fuzzy logic needs to be used to get a grasp of this and to get an answer. I am guessing that maybe something else is being used instead of VPN and I suspect there is some human error involved in describing this to me. All I know is that A VPN is a classification of software to mask your true location. That is all I know so far. I am told that one can use HTML5 with a browser to use VNP to remote into a location. If that is so, how is it done?
0
2,637
mayrashaikh
thread by: mayrashaikh | last post Aug 5 '21 by: mayrashaikh
Which is the best virtual events Platform?
1
2,788
thread by: Gingerbreadman | last post Aug 7 '21 by: dev7060
the error is in this section of the code, first code I've ever attempted any useful tips to remembering how to avoid or fix this issue would be greatly appreciated cout << "==>\aPlayer "<<--player" win "; else; cout <<"==>\aGame draw"; cin.ignore(); cin.get();
1
1,998
thread by: bytM3 | last post Aug 22 '21 by: dev7060
Will you tell what I'm doing wrong. It goes straight to "expiredpage.html" even though the value of "expiry" is more than 0. I keep studying redirection and variable definition but nothing works. It does update. [CODE][/CODE]
1
1,873
thread by: BlueTurkey2021 | last post Aug 22 '21 by: dev7060
I am not quite sure what an event is, but I know I will need to use it and multiple subscriptions of them. Can anyone recommend any good resources or examples of code geared for the beginner?
4
3,113
thread by: shivambhatele | last post Aug 26 '21 by: TatsianaIsakova
Hello All, I want to build a career as a .Net Developer and I am doing certification in this field. Actually, I am 2020 year batch passout and want to start a career in web development. Can anyone help me out with how to become a .net developer and whats the necessary skills to have and how much do .Net Developers make?
0
4,375
xarzu
thread by: xarzu | last post Aug 17 '21 by: xarzu
How do I pull ascii files or folders off a server I am remoted into? For the first time in my life as a software developer I am tasked to remote in by VPN (sort of) to a server where ASP code resides. I want to copy and paste the text locally so I can do things like searches for function names and such. I can do it on the server perhaps but there is an issue with lag time. Also, the screen I remote into with is small. I would like very much to cut and paste the ASCII text. I can cut and paste via screen shots and piece it together and then use OCR software to convert into text. But that does not work. Of course, cutting and pasting the ASCII does not work. The shared system memory does not work. Things tried: [LIST] [*]tried to copy and text ascii text. [*]tried to copy and past text as a screen grab to use with OCR but it did not work well. [/LIST] Now, not to get dark here, but, there IS some way to do this. And there IS such a thing as "friendly hacking". I mean, I have all seen youtube videos of people dialing into a remote server and downloading content somehow.
1
1,918
thread by: bytM3 | last post Aug 22 '21 by: dev7060
Hi itsme again. I have this prob I can't get past. This is a program to pay a fee and print a receipt. I enter the unit and payment into a form and get the message: Parse error: syntax error, unexpected ''; ' (T_CONSTANT_ENCAPSED_STRING) on line 62. Please advise. Thanks! [CODE]
apartment
For:

tenant paying is: - Amount paid is:

fetch_all(MYSQLI_ASSOC); $due = $prevbal + $latechg + $secdep + $damage + $courtcost + $nsf; $due = $due + $amtdue; $amtpaid = $paidsum; // if no payment or partial payment, add $10 to latechg field // and amount not paid to prevbal field if ($amtpaid < $due) { $latechg = $latechg + 10; $prevbal = $due - $amtpaid; } // if payment = amtdue clear due if ($amtpaid == $due) { $prevbal = $latechg = $secdep = $damage = $courtcost = $nsf = 0; } // if over-payment subtract over-payment from prevbal field if ($amtpaid > $due ) { $prevbal = $due - $amtpaid; $latechg = $secdep = $damage = $courtcost = $nsf = 0; } // Perform a query, check for error $sql = "UPDATE payfile SET amtpaid='$amtpaid', prevbal='$prevbal', latechg='$latechg', secdep='$secdep', damage='$damage', courtcost='$courtcost', nsf='$nsf', hudpay='$hudpay', datepaid='$datepaid', paidsum='$amtpaid', comments='$comments' Where unit = $unit"; // ********* this seems to be the culprit ************ if ($link->query($sql) === TRUE) { echo "Paid"; } else { echo "Error updating record: " . $link->error; }
[/CODE]
0
1,231
thread by: tomaxtoro | last post Aug 18 '21 by: tomaxtoro
#Singleinstance,Force Player:={x:200, y:200, w:20, h:20, speed:5} Health:={x:10, y:10, w:100, h:20, HP1:100} Gui,+AlwaysOnTop Gui,color, Black gui, font, s10 cWhite Gui add, text, x5 y5 vtext1, test1 Gui add, text, x5 y20 vtext2, test2 Gui add, text, x5 y35 vtext3, test3 Gui add, text, x5 y35 vtext4, test4 Gui, Font, s12 cd5d5d5 , Calibri Gui, Add, Edit, cBlack vEdit1, %Username% gui, show, w300 h200 sleep, 3000 guicontrol, hide, text1 guicontrol, hide, text2 guicontrol, hide, text3 guicontrol, hide, text4 gui, add, Picture, w400 h40, C:\Users\Tomas2\Desktop\health.png gui, add, Picture, w1895 h970 vPic, C:\Users\%Username%\Desktop\room.png gui, add, Picture, w1895 h970 vPic1, C:\Users\%Username%\Desktop\room.png gui,add, progress,% "x" Player.x " y" Player.y " w" Player.w " h" Player.h " cWhite BackGroundLime vPlayer_1" guicontrol, hide, Pic1 Gui, show, x0 y0 w1913 h1010, Game SetTimer,Move_player,10 ______________________________________________________________________________________________________________________________ HP1: { GuiControl, ,Health.HP1, %HP1% ;Guicontrol, ,Health_Health, "amount of health" Guicontrol,, Health_HP1, amount of health } loop { if(GetKeyState("1")) { Tooltip,% Health.HP1 } if(GetKeyState("2")) { CoordMode, Mouse, Screen SetTimer, Check, 9999999 Check: MouseGetPos, xx, yy Tooltip %xx%`, %yy% } } ^m:: player.speed+=sped Guicontrol, Move,Player_1, % "x" player.x " y" player.y return Guiclose: Exitapp Move_player: Damage:=10 sped:=5 man:=5 if(GetKeyState("up")) { if(player.y>0) player.y-=player.speed if(player.y=10) Health.HP1-=Damage } if(Getkeystate("down")) { if(player.y<1010-player.h) player.y+=player.speed if(player.y=985) Health.HP1-=Damage } if(Getkeystate("left")) { if(player.x>0) player.x-=player.speed if(player.x=20) Health.HP1-=Damage } if(Getkeystate("right")) { if(player.x<1910-player.w) player.x+=player.speed } if(player.x=1885) GuiControl, Hide, Pic if(Health.HP1=0) Guiclose_die: Exitapp if health.HP1=90 { gui, font, cBlack gui, add, text, x375 y10 w40 h40, ffff Health.HP1+=man gui, font, cBlack gui, add, text, x375 y10 w40 h40, ffff } if health.HP1=85 { gui, font, cBlack gui, add, text, x335 y10 w40 h40, ffff Health.HP1-=man gui, font, cBlack gui, add, text, x335 y10 w40 h40, ffff } if health.HP1=70 { gui, font, cBlack gui, add, text, x295 y10 w40 h40, ffff Health.HP1+=man gui, font, cBlack gui, add, text, x295 y10 w40 h40, ffff } if health.HP1=65 { gui, font, cBlack gui, add, text, x255 y10 w40 h40, ffff Health.HP1-=man gui, font, cBlack gui, add, text, x255 y10 w40 h40, ffff } if health.HP1=50 { gui, font, cBlack gui, add, text, x215 y10 w40 h40, ffff Health.HP1+=man gui, font, cBlack gui, add, text, x215 y10 w40 h40, ffff } if health.HP1=45 { gui, font, cBlack gui, add, text, x175 y10 w40 h40, ffff Health.HP1-=man gui, font, cBlack gui, add, text, x175 y10 w40 h40, ffff } if health.HP1=30 { gui, font, cBlack gui, add, text, x135 y10 w40 h40, ffff Health.HP1+=man gui, font, cBlack gui, add, text, x135 y10 w40 h40, ffff } if health.HP1=25 { gui, font, cBlack gui, add, text, x95 y10 w40 h40, ffff Health.HP1-=man gui, font, cBlack gui, add, text, x95 y10 w40 h40, ffff } if health.HP1=10 { gui, font, cBlack gui, add, text, x55 y10 w40 h40, ffff Health.HP1+=man gui, font, cBlack gui, add, text, x55 y10 w40 h40, ffff } if health.HP1=5 { gui, font, cBlack gui, add, text, x15 y10 w40 h40, ffff Health.HP1-=man gui, font, cBlack gui, add, text, x15 y10 w40 h40, ffff } Guicontrol, Move,Player_1, % "x" player.x " y" player.y return return
0
1,532
thread by: Isa21 | last post Aug 18 '21 by: Isa21
Hi everybody. I have just installed logicaldoc CE ; i uploaded a few PDF but unfortunately, i can't get any preview or content (when downloaded) for them. I assume i miss Some configurations. Please, can you help ? My setup is : - logicaldoc community 7.7.6 - win server 2012 r2 And i have this error in the preview panel : " Message : Unexpected server response (204) while retrieving PDF "http://172.16.32.20:8090 /convertpdf?docId=3407891&control=preview&fileVersion=1.0". "
0
1,141
thread by: Boucher jm | last post Aug 22 '21 by: Boucher jm
is there a db2 load without update just to check the file before load
0
1,455
thread by: DomD | last post Aug 25 '21 by: DomD
Hello, New to the site and new to Access and all it's wonders. Hoping someone can assist or provide direction. I am working on building a simple Form. Currently, a single Combo box that will list selections from "Groups" Table. What I am trying to accomplish is for each value within the Cbx, pressing the Cmd button with perform adjustments through Avaya: CMS. I have a similar workbook in excel that performs the same task in Excel, but I am less familiar with the intricacies of Access. Being new to Access, I am looking for any assistance in learning how to assign the appropriate values to the skilling portion of the code. any help is appreciated. Here is a snip of my code Private Sub Skill_Click() Dim rst As DAO.Recordset Dim Agents As String Dim C As Integer Dim i As Integer Dim S As Integer Dim Level As Integer Dim ACD As Integer Dim Skill As String Dim Level As String Dim LastRow As Long Dim LastCol As Long Set cvsApp = CreateObject("ACSUP.cvsApplication") Set cvsSrv = cvsApp.Servers(1) Set AgMngObj = cvsSrv.AgentMgmt On Error Resume Next AgMngObj.AcdStartUp -1, "", cvsSrv.ServerKey, -1 If [Group] = "ROI NGP Intake" Then Set rst = CurrentDb.OpenRecordset("ROI_NGP_Intake") C = rst("Skill1") LastRow = DCount("*", "ROI_NGP_Intake") + 1 'Row count Debug.Print LastRow LastCol = rst.Fields.Count + 1 'Column count Debug.Print LastCol Else 'Do nothing End If MsgBox LastRow & vbNewLine _ & LastCol _ ACD = 3 For i = 1 To LastRow S = 1 Agents = rst("Lucent") ReDim SetArr((LastCol - 2) / 2, 4) ' For C = rst("Skill1") To LastCol Step 2 On Error Resume Next Skill = rst("Skill1") Level = rst(i, C + 1).Value SetArr(S, 1) = Skill SetArr(S, 2) = Level SetArr(S, 3) = 0 SetArr(S, 4) = 0 S = S + 1 Next C AgMngObj.AcdStartUp -1, "", cvsSrv.ServerKey, -1 AgMngObj.OleAgentSetSkill_R16_1 ACD, Agents, 1, 0, 0, 0, S - 1, SetArr, "" Next i 'MsgBox "Did it do a thing?" End Sub
-
-
thread by: yatkaiwen | last post Aug 30 '21 by: dev7060
Moved:
1
3,096
thread by: Nasef Gee | last post Aug 30 '21 by: dev7060
Simply, after scanning the trigger image with the phone's camera, the URL opens successfully. When I press on the back button to return to the phone's camera, the app reopens the URL again as you see in the attached video. https://drive.google.com/file/d/1e5zcYL37WWLbkhqGt-XrmU9tYZQk-rx9/view?usp=sharing Basically, I am keeping calling Application.OpenURL(videoClips[Image.DatabaseIndex].url) every time it hits the Update method. I need some sort of check to only open that when I want. I Maybe reset my image to null or something. Anyone can help me with this code? And how can I clear my image after opening it?
0
3,647
thread by: sal21 | last post Aug 31 '21 by: sal21
Possible, with MSFlexGrid1_MouseMove event, to check if in a cell is present a picture/icon?
1
5,955
thread by: MrBlu3 | last post Sep 3 '21 by: dev7060
hello, i would like to ask what's the best language i should learn in order to achieve the following: - build a questionnaire that would have a GUI form - open a given app (some stuff we have at work) and search text in it in order to put it in MS Word i have basic knowledge of python some memories of BASIC i gather python has some pretty good libraries and something called Qt Designer that could help design GUIs i had a look at livecode, too. my PC's OS is linux thanks for any help
0
3,307
thread by: DomD | last post Sep 1 '21 by: DomD
Hello everyone, New to the site and forums and was hoping someone could assist with a question. I am working on a Form where, based on the Form selection a query will pulled and all values within the Lucent column will be skilled to the designated skillset. The problem I have, is I am unable to appropriately the Agents variable so I can loop through each Lucent. I believe that if i can identify Agents = rst(0 , x), where 0 equals the first field(Lucent) and x = the row number, then I would be able to wrap my skilling code with Do until x <= LastRow *skill code* x= x+1 Loop I believe I am on the right track and any help would be greatly appreciated [CODE]Private Sub Skill_Click() Dim rst As DAO.Recordset Dim Agents As String Dim ACD As Integer Dim C As Integer Dim i As Integer Dim S As Integer Dim Skill As Integer Dim Level As Integer Dim SetArr() As Variant Dim skillCnt As Integer Dim fldSkill As String Dim fldLevel As String Dim LastRow As Long Dim LastCol As Long Set cvsApp = CreateObject("ACSUP.cvsApplication") Set cvsSrv = cvsApp.Servers(1) Set AgMngObj = cvsSrv.AgentMgmt On Error Resume Next AgMngObj.AcdStartUp -1, "", cvsSrv.ServerKey, -1 If [Group] = "Arise Element w/FU STS" Then Set rst = CurrentDb.OpenRecordset("qryAriseElement w/FU STS") ' LastRow = DCount("*", "qryAriseElement w/FU STS") + 1 'Row count ' Debug.Print LastRow ' LastCol = rst.Fields.Count + 1 'Column count ' Debug.Print LastCol Else 'Do nothing End If ACD = 3 skillCnt = (LastCol - 2) / 2 Agents = rst("Lucent") ' Do until - loop until all Agents have been skilled S = 1 ReDim SetArr(skillCnt, 4) Do While S <= skillCnt fldSkill = "Skill" & S fldLevel = "Level" & S On Error Resume Next Skill = rst(fldSkill).Value Level = rst(fldLevel).Value SetArr(S, 1) = Skill SetArr(S, 2) = Level SetArr(S, 3) = 0 SetArr(S, 4) = 0 S = S + 1 Loop AgMngObj.AcdStartUp -1, "", cvsSrv.ServerKey, -1 AgMngObj.OleAgentSetSkill_R16_1 ACD, Agents, 1, 0, 0, 0, skillCnt, SetArr, "" ' Loop End Sub[/CODE]
1
5,834
thread by: dementshuk | last post Sep 6 '21 by: TatsianaIsakova
When is it most valuable or frequent to use the Python or R language in data science?
1
6,425
thread by: dementshuk | last post Sep 3 '21 by: dev7060
Which programming language should I learn first to become a data scientist? Easier and friendly to use. What is the first step?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.